diff --git a/plugins/vfspk3/unzip.cpp b/plugins/vfspk3/unzip.cpp index aa5c2246..27bf3023 100644 --- a/plugins/vfspk3/unzip.cpp +++ b/plugins/vfspk3/unzip.cpp @@ -2074,7 +2074,7 @@ extern int unzReadCurrentFile (unzFile file, void *buf, unsigned len) 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; if (len==0) return 0; diff --git a/plugins/vfsqlpk3/unzip.cpp b/plugins/vfsqlpk3/unzip.cpp index b263c320..18088935 100644 --- a/plugins/vfsqlpk3/unzip.cpp +++ b/plugins/vfsqlpk3/unzip.cpp @@ -2071,7 +2071,7 @@ extern int unzReadCurrentFile (unzFile file, void *buf, unsigned len) 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; if (len==0) return 0; diff --git a/radiant/xywindow.cpp b/radiant/xywindow.cpp index 4d68ad6d..cc5d332b 100644 --- a/radiant/xywindow.cpp +++ b/radiant/xywindow.cpp @@ -1010,7 +1010,7 @@ rectangle_t rectangle_from_area_xy(){ void update_xor_rectangle_xy( XORRectangle& xor_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(); } xor_rectangle.set( rectangle );