Resolved compiler warnings with gcc-4.2.1 compiler.
git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@747 c5d04d22-be80-434c-894e-aa346cc9e8e8
This commit is contained in:
parent
15460af163
commit
1a623bb733
2
lregex.c
2
lregex.c
|
@ -408,7 +408,7 @@ static void processLanguageRegex (const langType language,
|
|||
const char* regexfile = parameter + 1;
|
||||
FILE* const fp = fopen (regexfile, "r");
|
||||
if (fp == NULL)
|
||||
error (WARNING | PERROR, regexfile);
|
||||
error (WARNING | PERROR, "%s", regexfile);
|
||||
else
|
||||
{
|
||||
vString* const regex = vStringNew ();
|
||||
|
|
Loading…
Reference in New Issue