From: Mikko Rasa Date: Wed, 4 Jan 2023 10:55:54 +0000 (+0200) Subject: Remove an unnecessary initializer from a constructor X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=ccc68e3d1097f5e4f9fc17e84901986a77aa6cb2;p=builder.git Remove an unnecessary initializer from a constructor --- diff --git a/source/lib/sharedlibrary.cpp b/source/lib/sharedlibrary.cpp index bd8ee26..7be3a89 100644 --- a/source/lib/sharedlibrary.cpp +++ b/source/lib/sharedlibrary.cpp @@ -20,8 +20,7 @@ SharedLibrary::SharedLibrary(Builder &b, const Msp::FS::Path &p): SharedLibrary::SharedLibrary(Builder &b, const Component &c, const vector &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().front().get_prefix(); if(!libname.compare(0, lib_prefix.size(), lib_prefix))