Merge pull request #473 from Pan7/FixParWarn

Fix extraneous parentheses warning
This commit is contained in:
Timothee "TTimo" Besset 2017-04-28 07:15:50 -05:00 committed by GitHub
commit dd6134a197
4 changed files with 4 additions and 4 deletions

View file

@ -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 ) {

View file

@ -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;

View file

@ -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;

View file

@ -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 );