From ccc68e3d1097f5e4f9fc17e84901986a77aa6cb2 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 4 Jan 2023 12:55:54 +0200 Subject: [PATCH] Remove an unnecessary initializer from a constructor --- source/lib/sharedlibrary.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)) -- 2.45.2