warning cleanup, also made voxel.c and volumetric.c use BM_INLINE define rather then having their own ifdefs in each file.
This commit is contained in:
@@ -572,8 +572,7 @@ static void init_iconfile_list(struct ListBase *list)
|
||||
if(!BLI_getwdN(olddir))
|
||||
restoredir = 0;
|
||||
totfile = BLI_getdir(icondirstr, &dir);
|
||||
if (restoredir && !chdir(olddir))
|
||||
; /* fix warning about checking return value */
|
||||
if (restoredir && !chdir(olddir)) {} /* fix warning about checking return value */
|
||||
|
||||
for(i=0; i<totfile; i++) {
|
||||
if( (dir[i].type & S_IFREG) ) {
|
||||
|
||||
Reference in New Issue
Block a user