]> git.tdb.fi Git - builder.git/commitdiff
Remove an unnecessary initializer from a constructor
authorMikko Rasa <tdb@tdb.fi>
Wed, 4 Jan 2023 10:55:54 +0000 (12:55 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 4 Jan 2023 10:55:54 +0000 (12:55 +0200)
source/lib/sharedlibrary.cpp

index bd8ee260530ce6c226f54ddb74295d4f83dda3e1..7be3a89370a121f511b756a253e608128d7053e7 100644 (file)
@@ -20,8 +20,7 @@ SharedLibrary::SharedLibrary(Builder &b, const Msp::FS::Path &p):
 
 SharedLibrary::SharedLibrary(Builder &b, const Component &c, const vector<ObjectFile *> &objs):
        Binary(b, c, generate_filename(c), objs),
-       libname(c.get_name()),
-       import_lib(0)
+       libname(c.get_name())
 {
        const string &lib_prefix = builder.get_current_arch().get_patterns<SharedLibrary>().front().get_prefix();
        if(!libname.compare(0, lib_prefix.size(), lib_prefix))