#ifdef out unused pgpSecret* definitions to shut up compiler warnings.
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 10 Jul 2007 07:47:35 +0000 (10:47 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 10 Jul 2007 07:47:35 +0000 (10:47 +0300)
rpmio/rpmpgp.c

index 8ffcd54..fa42a99 100644 (file)
@@ -579,6 +579,7 @@ static const char * pgpPublicRSA[] = {
     NULL,
 };
 
+#ifdef NOTYET
 /*@observer@*/ /*@unchecked@*/
 static const char * pgpSecretRSA[] = {
     "    d =",
@@ -587,6 +588,7 @@ static const char * pgpSecretRSA[] = {
     "    u =",
     NULL,
 };
+#endif
 
 /*@observer@*/ /*@unchecked@*/
 static const char * pgpPublicDSA[] = {
@@ -597,11 +599,13 @@ static const char * pgpPublicDSA[] = {
     NULL,
 };
 
+#ifdef NOTYET
 /*@observer@*/ /*@unchecked@*/
 static const char * pgpSecretDSA[] = {
     "    x =",
     NULL,
 };
+#endif
 
 /*@observer@*/ /*@unchecked@*/
 static const char * pgpPublicELGAMAL[] = {
@@ -611,11 +615,13 @@ static const char * pgpPublicELGAMAL[] = {
     NULL,
 };
 
+#ifdef NOTYET
 /*@observer@*/ /*@unchecked@*/
 static const char * pgpSecretELGAMAL[] = {
     "    x =",
     NULL,
 };
+#endif
 /*@=varuse =readonlytrans @*/
 
 static const byte * pgpPrtPubkeyParams(byte pubkey_algo,