* security.h (cygpsid::debug_print): Avoid compiler warnings.

This commit is contained in:
Corinna Vinschen 2003-10-26 10:58:11 +00:00
parent 13d5cc4020
commit db30fe125f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-10-26 Corinna Vinschen <corinna@vinschen.de>
* security.h (cygpsid::debug_print): Avoid compiler warnings.
2003-10-25 Corinna Vinschen <corinna@vinschen.de>
* path.cc (normalize_posix_path): Test runs of more than two

View File

@ -51,7 +51,7 @@ public:
void debug_print (const char *prefix = NULL) const
{
char buf[256];
char buf[256] __attribute__ ((unused));
debug_printf ("%s %s", prefix ?: "", string (buf) ?: "NULL");
}
};