aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/security.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-10-26 10:58:11 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-10-26 10:58:11 +0000
commitdb30fe125f32439c108468319c98caaa94dfe7bb (patch)
tree3419cc5667e1fcbd6a19d88ee6a6cbbd0fd5a005 /winsup/cygwin/security.h
parent13d5cc4020ca1e24c256204b489745888f84d6c0 (diff)
downloadnewlib-db30fe125f32439c108468319c98caaa94dfe7bb.zip
newlib-db30fe125f32439c108468319c98caaa94dfe7bb.tar.gz
newlib-db30fe125f32439c108468319c98caaa94dfe7bb.tar.bz2
* security.h (cygpsid::debug_print): Avoid compiler warnings.
Diffstat (limited to 'winsup/cygwin/security.h')
-rw-r--r--winsup/cygwin/security.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/security.h b/winsup/cygwin/security.h
index a7e2515..e8e4f47 100644
--- a/winsup/cygwin/security.h
+++ b/winsup/cygwin/security.h
@@ -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");
}
};