]> sourceware.org Git - newlib-cygwin.git/commitdiff
* security.h (cygpsid::debug_print): Avoid compiler warnings.
authorCorinna Vinschen <corinna@vinschen.de>
Sun, 26 Oct 2003 10:58:11 +0000 (10:58 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Sun, 26 Oct 2003 10:58:11 +0000 (10:58 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/security.h

index 3392bfe09ade78d2e6208dbefdb3243f3165cb59..08e7efe795df2386a0342915f0bce359a488feea 100644 (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
index a7e2515c77f2d35d6c1767d5d5092b404732f77d..e8e4f474570cded91ac527b45f90ea86967727d4 100644 (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");
     }
 };
This page took 0.037453 seconds and 5 git commands to generate.