Code cleanup: add UNUSED_FUNCTION macro to avoid warning messages about unused

functions.
This commit is contained in:
2011-08-15 16:18:04 +00:00
parent 27b3695c4f
commit ae884d2e54
15 changed files with 30 additions and 51 deletions

View File

@@ -450,7 +450,7 @@ void WM_read_file(bContext *C, const char *filepath, ReportList *reports)
/* called on startup, (context entirely filled with NULLs) */
/* or called for 'New File' */
/* op can be NULL */
int WM_read_homefile(bContext *C, ReportList *reports, short from_memory)
int WM_read_homefile(bContext *C, ReportList *UNUSED(reports), short from_memory)
{
ListBase wmbase;
char tstr[FILE_MAXDIR+FILE_MAXFILE];