summaryrefslogtreecommitdiff
path: root/src/export/extract_version_1.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2015-06-02 19:17:35 +0200
committerDirk Engling <erdgeist@erdgeist.org>2015-06-02 19:17:35 +0200
commit6fcaf93aeff863d3998c175efb0359fb2ee7ec84 (patch)
tree1a8299b1f965f2c775ad82bb01348cb34eff2565 /src/export/extract_version_1.c
parent773207e3c4280133b68d61211846c6431b2eb33f (diff)
Avoid warnings for unused return values
Diffstat (limited to 'src/export/extract_version_1.c')
-rw-r--r--src/export/extract_version_1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/export/extract_version_1.c b/src/export/extract_version_1.c
index 0e03e1e..c727b4f 100644
--- a/src/export/extract_version_1.c
+++ b/src/export/extract_version_1.c
@@ -210,13 +210,13 @@ int main( )
210 /* Write out results */ 210 /* Write out results */
211 for( i=0; i<14; ++i ) { 211 for( i=0; i<14; ++i ) {
212 /* if( g_state.outfill[i] > 1024*1024*6 ) printf( "Large: %s %zd\n", g_state.ort, g_state.outfill[i] ); */ 212 /* if( g_state.outfill[i] > 1024*1024*6 ) printf( "Large: %s %zd\n", g_state.ort, g_state.outfill[i] ); */
213 write( g_state.outfiles[i], g_state.outbuf[i], g_state.outfill[i] ); 213 (void)write( g_state.outfiles[i], g_state.outbuf[i], g_state.outfill[i] );
214 g_state.outfill[i] = 0; 214 g_state.outfill[i] = 0;
215 } 215 }
216 } 216 }
217 217
218 for( i=0; i<14; ++i ) { 218 for( i=0; i<14; ++i ) {
219 write( g_state.outfiles[i], g_state.outbuf[i], g_state.outfill[i] ); 219 (void)write( g_state.outfiles[i], g_state.outbuf[i], g_state.outfill[i] );
220 close( g_state.outfiles[i] ); 220 close( g_state.outfiles[i] );
221 } 221 }
222 222