mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Merge pull request #473 from Pan7/FixParWarn
Fix extraneous parentheses warning
This commit is contained in:
commit
dd6134a197
4 changed files with 4 additions and 4 deletions
|
@ -519,7 +519,7 @@ static picoModel_t *_md2_load( PM_PARAMS_LOAD ){
|
|||
continue;
|
||||
}
|
||||
|
||||
else if ( ( p_index_LUT[p_md2Triangle->index_xyz[j]].next == NULL ) ) { // Not equal to Main entry, and no LL entry
|
||||
else if ( p_index_LUT[p_md2Triangle->index_xyz[j]].next == NULL ) { // Not equal to Main entry, and no LL entry
|
||||
// Add first entry of LL from Main
|
||||
p_index_LUT2 = (index_LUT_t *)_pico_alloc( sizeof( index_LUT_t ) );
|
||||
if ( p_index_LUT2 == NULL ) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue