Get rid of variables triggering gcc's "defined but not used"
authorKen Raeburn <raeburn@mit.edu>
Sun, 4 Sep 2011 23:52:11 +0000 (23:52 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sun, 4 Sep 2011 23:52:11 +0000 (23:52 +0000)
complaints, almost entirely "rcsid" variables.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25141 dc483132-0cff-0310-8789-dd5450dbe970

16 files changed:
src/appl/gss-sample/gss-misc.c
src/kadmin/cli/keytab.c
src/lib/kadm5/clnt/client_principal.c
src/lib/kadm5/clnt/clnt_policy.c
src/lib/kadm5/clnt/clnt_privs.c
src/lib/kadm5/srv/adb_xdr.c
src/lib/kadm5/srv/server_init.c
src/lib/kadm5/srv/server_kdb.c
src/lib/kadm5/srv/svr_iters.c
src/lib/kadm5/srv/svr_policy.c
src/lib/rpc/unit-test/client.c
src/lib/rpc/unit-test/server.c
src/plugins/kdb/db2/adb_openclose.c
src/plugins/kdb/db2/adb_policy.c
src/plugins/kdb/db2/db2_exp.c
src/tests/gss-threads/gss-misc.c

index b05b7e049221664b50d2dcee3b745822bff058f0..98d204551be80c159e8cce0bcb26cec141ec6515 100644 (file)
  * or implied warranty.
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include <stdio.h>
 #ifdef _WIN32
 #include <windows.h>
index 2af8202837dce4febf83edcb5ca9dfcf947e496d..6d7288feb9f21e0b232119de9a5e5be6f34f9fe7 100644 (file)
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 019c50a28f9c3fe53f4baef16216075c5519a917..41324be804811ff8cadeb3bc54231059a88556b6 100644 (file)
@@ -5,10 +5,6 @@
  * $Header$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include    <gssrpc/rpc.h>
 #include    <kadm5/admin.h>
 #include    <kadm5/kadm_rpc.h>
index 0b6796f272ab6f3f6deb084970bb8af579f01111..eda354a949aa2d8c442ca736c773e56203c153f2 100644 (file)
@@ -5,10 +5,6 @@
  * $Header$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include    <gssrpc/rpc.h>
 #include    <kadm5/admin.h>
 #include    <kadm5/kadm_rpc.h>
index 15b16b1c93ceb2ff24fa46d73a9c1d24a67c1774..ce55162744f685f5e593ae8e1eab1a3f173f816d 100644 (file)
@@ -7,10 +7,6 @@
  *
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include    <gssrpc/rpc.h>
 #include    <kadm5/admin.h>
 #include    <kadm5/kadm_rpc.h>
index 8c0cc9d24c2f9691c613d05b8e74186f4e67b56a..de1bdc00e13b9d75d254670ac427d093f7405e3f 100644 (file)
@@ -5,10 +5,6 @@
  * $Header$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include <sys/types.h>
 #include <krb5.h>
 #include <gssrpc/rpc.h>
index 21604a32c10f02f66a7b43bb32d23f459afce5e2..b170e9e7c5e542ad1ca335e7379bacb55d8aacf8 100644 (file)
  * Use is subject to license terms.
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>
index e8a78103cfa5db54381c39afacdf1278d7e9277d..db7230e24252d581c474739edd81242bd9444a0c 100644 (file)
  * Use is subject to license terms.
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include <stdio.h>
 #include <stdlib.h>
 #include "k5-int.h"
index a205afa6e9040110ef724ee18e6f541c9a252c27..b54dee32d77f76f8beb8c77c2b90f3f9e3e22851 100644 (file)
@@ -5,10 +5,6 @@
  * $Header$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include "autoconf.h"
 #if defined(HAVE_COMPILE) && defined(HAVE_STEP)
 #define SOLARIS_REGEXPS
index 046a07725da781ac1857f3d49e3d556a2074d19c..4e0065c3d37ccfa6caaac196382fdb4b7c7974f1 100644 (file)
@@ -5,10 +5,6 @@
  * $Header$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include        <sys/types.h>
 #include        <kadm5/admin.h>
 #include        "server_internal.h"
index df7144ab2f5b154266cda9b4a97d6e4afc68f9d2..a70cf3842adde16f0d7d8f335ba0ef66a3b41f71 100644 (file)
@@ -5,10 +5,6 @@
  *
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include <stdio.h>
 #include <string.h>
 #include "autoconf.h"
index ee5446598e09da3fcb968793b37d7273885a7d74..c2cb30ccbc07d8347ee7ef0b2097eb6eba58d8b6 100644 (file)
@@ -5,10 +5,6 @@
  * $Source$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include "k5-platform.h"
 
 #include <stdio.h>
index 5c09a9bb3d00a9949daa7219ea31547f7bb19c0a..0301c94f6d4254b94c008acf7f1957682cabaa50 100644 (file)
@@ -5,10 +5,6 @@
  * $Header$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include        <sys/file.h>
 #include        <fcntl.h>
 #include        <unistd.h>
index 3c51a27aa99b6d48075988e8cf3e76792471fcd2..fa6f0a38cb236de66d05e539628ba107806ea808 100644 (file)
@@ -5,10 +5,6 @@
  * $Header$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include "k5-int.h"
 
 #include <sys/file.h>
index b2418ab00de4a413668122c26cef05010a804567..010a79d1983ce2306a27e104052cda25e5445af1 100644 (file)
  *       %date_created:  Tue Apr  5 11:44:00 2005 %
  *
  **********************************************************************/
-#ifndef lint
-static char *_csrc = "@(#) %filespec: db2_exp.c~5 %  (%full_filespec: db2_exp.c~5:csrc:idc_sec#2 %)";
-#endif
-
 #include "k5-int.h"
 
 #if HAVE_UNISTD_H
index c456f494407e428fc28c71ec316ebec645fd0b4a..e52ae288e908e1cfe2c096f59a018888d71c0d58 100644 (file)
  * or implied warranty.
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include <stdio.h>
 #ifdef _WIN32
 #include <windows.h>