Fix extraneous parentheses warning

This commit is contained in:
Pan7 2017-04-27 21:03:13 +02:00
parent 6e3c89c217
commit 3f87271ea6
3 changed files with 3 additions and 3 deletions

View file

@ -2074,7 +2074,7 @@ extern int unzReadCurrentFile (unzFile file, void *buf, unsigned len)
return UNZ_PARAMERROR; return UNZ_PARAMERROR;
if ((pfile_in_zip_read_info->read_buffer == NULL)) if (pfile_in_zip_read_info->read_buffer == NULL)
return UNZ_END_OF_LIST_OF_FILE; return UNZ_END_OF_LIST_OF_FILE;
if (len==0) if (len==0)
return 0; return 0;

View file

@ -2071,7 +2071,7 @@ extern int unzReadCurrentFile (unzFile file, void *buf, unsigned len)
return UNZ_PARAMERROR; return UNZ_PARAMERROR;
if ((pfile_in_zip_read_info->read_buffer == NULL)) if (pfile_in_zip_read_info->read_buffer == NULL)
return UNZ_END_OF_LIST_OF_FILE; return UNZ_END_OF_LIST_OF_FILE;
if (len==0) if (len==0)
return 0; return 0;

View file

@ -1010,7 +1010,7 @@ rectangle_t rectangle_from_area_xy(){
void update_xor_rectangle_xy( XORRectangle& xor_rectangle ){ void update_xor_rectangle_xy( XORRectangle& xor_rectangle ){
rectangle_t rectangle; rectangle_t rectangle;
if ( ( g_qeglobals.d_select_mode == sel_area ) ) { if ( g_qeglobals.d_select_mode == sel_area ) {
rectangle = rectangle_from_area_xy(); rectangle = rectangle_from_area_xy();
} }
xor_rectangle.set( rectangle ); xor_rectangle.set( rectangle );