Skip to content

Commit

Permalink
Merge pull request #5 from cwwhitman/master
Browse files Browse the repository at this point in the history
Further branch removal
  • Loading branch information
semitrivial authored Jul 28, 2022
2 parents d62cd2b + 792d70d commit 9081139
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions csv.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ static int count_fields( const char *line ) {
for ( cnt = 1, fQuote = 0, ptr = line; *ptr; ptr++ ) {
if ( fQuote ) {
if ( *ptr == '\"' ) {
if ( ptr[1] == '\"' ) {
ptr++;
continue;
}
fQuote = 0;
}
continue;
Expand Down
4 changes: 0 additions & 4 deletions split.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ char **split_on_unescaped_newlines(const char *txt) {
for ( bptr = buf, ptr = txt, fQuote = 0; ; ptr++ ) {
if ( fQuote ) {
if ( *ptr == '\"' ) {
if ( ptr[1] == '\"' ) {
ptr++;
continue;
}
fQuote = 0;
continue;
} else if ( *ptr ) {
Expand Down

0 comments on commit 9081139

Please sign in to comment.