]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/version.h
fix 'Dead assignment' by dropping unneeded boolean
[apt.git] / apt-pkg / version.h
index e0e0e6c1410f87f86d1aa41527306bc3c4ea907f..5110ecaa7d9f8d0ed4e11dd1534209faca6599f4 100644 (file)
@@ -33,7 +33,7 @@ class pkgVersioningSystem
    // Global list of VS's
    static pkgVersioningSystem **GlobalList;
    static unsigned long GlobalListLen;
-   static pkgVersioningSystem *GetVS(const char *Label);
+   static pkgVersioningSystem *GetVS(const char *Label) APT_PURE;
    
    const char *Label;
    
@@ -55,7 +55,7 @@ class pkgVersioningSystem
    APT_MKSTRCMP(CmpReleaseVer,DoCmpReleaseVer);
    
    pkgVersioningSystem();
-   virtual ~pkgVersioningSystem() {};
+   virtual ~pkgVersioningSystem();
 };
 
 #endif