mirror of
https://github.com/UberGames/rpgxEF.git
synced 2024-11-10 15:21:34 +00:00
fixed warning
This commit is contained in:
parent
d5833a11ce
commit
d15d902aaa
2 changed files with 2 additions and 2 deletions
|
@ -1500,7 +1500,7 @@ char *G_searchGroupList(const char *name)
|
|||
}
|
||||
|
||||
// did we find this group in the list?
|
||||
if (i == group_count)
|
||||
if (i == group_count || text_p == NULL)
|
||||
{
|
||||
Com_sprintf(races, sizeof(races), "unknown");
|
||||
}
|
||||
|
|
|
@ -674,7 +674,7 @@ void Parse1DMatrix (char **buf_p, int x, float *m);
|
|||
void Parse2DMatrix (char **buf_p, int y, int x, float *m);
|
||||
void Parse3DMatrix (char **buf_p, int z, int y, int x, float *m);
|
||||
|
||||
void QDECL Com_sprintf (/*@null@*/ char *dest, size_t size, /*@null@*/ const char *fmt, /*@null@*/ ...) __attribute__ ((format (printf, 3, 4)));
|
||||
void QDECL Com_sprintf (/*@null@*/ char *dest, size_t size, /*@null@*/ const char *fmt, ...) __attribute__ ((format (printf, 3, 4)));
|
||||
|
||||
|
||||
// mode parm for FS_FOpenFile
|
||||
|
|
Loading…
Reference in a new issue