]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/cdrom.cc
warning: cast from type A to type B casts away qualifiers [-Wcast-qual]
[apt.git] / apt-pkg / cdrom.cc
index 3ae1e8b1dd6c9eadf1a11459d5bfbaa51e79dec3..838c8887a16eac6c7291f8536920b4ac22e13a8e 100644 (file)
@@ -933,10 +933,10 @@ pkgUdevCdromDevices::Dlopen()                                             /*{{{*/
 // convenience interface, this will just call ScanForRemovable
 vector<CdromDevice>
 pkgUdevCdromDevices::Scan()
-{ 
+{
    bool CdromOnly = _config->FindB("APT::cdrom::CdromOnly", true);
-   return ScanForRemovable(CdromOnly); 
-};
+   return ScanForRemovable(CdromOnly);
+}
                                                                        /*}}}*/
                                                                         /*{{{*/
 vector<CdromDevice>