[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/libkdenetwork/gpgmepp
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2004-04-07 10:18:07
Message-ID: 20040407101807.62DD599F5 () office ! kde ! org
[Download RAW message or body]

CVS commit by mutz: 

Fix warnings that are real error and that gcc 3.3.3 and --enable-warnings \
--enable-debug=full really should have warned about, but didn't :/


  M +8 -4      key.cpp   1.9


--- kdepim/libkdenetwork/gpgmepp/key.cpp  #1.8:1.9
@@ -556,5 +556,5 @@ namespace GpgME {
   struct UserID::Signature::Private {
     Private( gpgme_key_t aKey, gpgme_user_id_t aUid, unsigned int idx )
-      : key( key ), uid( 0 ), sig( 0 )
+      : key( aKey ), uid( 0 ), sig( 0 )
     {
       if ( key )
@@ -577,5 +577,5 @@ namespace GpgME {
           
     Private( gpgme_key_t aKey, gpgme_user_id_t aUid, gpgme_key_sig_t aSig )
-      : key( key ), uid( 0 ), sig( 0 )
+      : key( aKey ), uid( 0 ), sig( 0 )
     {
       if ( key )
@@ -773,5 +773,5 @@ namespace GpgME {
     Private( gpgme_key_t aKey, gpgme_user_id_t aUid,
              gpgme_key_sig_t aSig, unsigned int idx )
-      : key( key ), uid( 0 ), sig( 0 ), nota( 0 )
+      : key( aKey ), uid( 0 ), sig( 0 ), nota( 0 )
     {
       if ( key )
@@ -788,4 +788,6 @@ namespace GpgME {
                     break;
                   }
+#else
+                (void)idx;
 #endif
                 break;
@@ -803,5 +805,5 @@ namespace GpgME {
     Private( gpgme_key_t aKey, gpgme_user_id_t aUid,
              gpgme_key_sig_t aSig, gpgme_sig_notation_t aNota )
-      : key( key ), uid( 0 ), sig( 0 ), nota( 0 )
+      : key( aKey ), uid( 0 ), sig( 0 ), nota( 0 )
     {
       if ( key )
@@ -818,4 +820,6 @@ namespace GpgME {
                     break;
                   }
+#else
+                (void)aNota;
 #endif
                 break;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic