diff options
author | Rodeo <tdskywalker@gmail.com> | 2014-01-07 11:42:39 +0000 |
---|---|---|
committer | Rodeo <tdskywalker@gmail.com> | 2014-01-07 11:42:39 +0000 |
commit | 7f46a78ce98fe1e1bf69cc431c3303eedc1f7f66 (patch) | |
tree | 5f2912aa05d9600d3655b9ed83a695e43725f659 /test/parsecsv.c | |
parent | 5bf5ef4f102648396941e4a1d1ce4af36638d16b (diff) |
Revert previous borked commit. Sorry!
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5958 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test/parsecsv.c')
-rw-r--r-- | test/parsecsv.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/parsecsv.c b/test/parsecsv.c index 8e7bd08a8..a1fdc360d 100644 --- a/test/parsecsv.c +++ b/test/parsecsv.c @@ -54,11 +54,6 @@ hb_csv_file_t *hb_open_csv_file( const char *filepath ) } file = malloc( sizeof( hb_csv_file_t ) ); - if( file == NULL ) - { - return file; - } - file->fileref = fileref; file->eof = 0; file->parse_state = CSV_PARSE_SEEK; @@ -96,11 +91,6 @@ hb_csv_cell_t *hb_read_next_cell( hb_csv_file_t *file ) } cell = malloc( sizeof( hb_csv_cell_t ) ); - if( cell == NULL ) - { - return cell; - } - cell->cell_row = file->curr_row; cell->cell_col = file->curr_col; index = 0; |