diff --git a/repos/gems/src/app/depot_query/main.cc b/repos/gems/src/app/depot_query/main.cc index ba76c6c0dc..a54c310e7d 100644 --- a/repos/gems/src/app/depot_query/main.cc +++ b/repos/gems/src/app/depot_query/main.cc @@ -58,7 +58,7 @@ class Depot_query::Recursion_limit : Noncopyable * \throw Recursion_limit::Reached */ Recursion_limit(Recursion_limit const &other) - : _value(_checked_decr(other._value)) { } + : Noncopyable(), _value(_checked_decr(other._value)) { } }; @@ -79,7 +79,7 @@ class Depot_query::Dependencies typedef Registered_no_delete Entry; - Registry _entries; + Registry _entries { }; Collection(Allocator &alloc) : _alloc(alloc) { } @@ -184,7 +184,7 @@ struct Depot_query::Main typedef String<64> Rom_label; typedef String<16> Architecture; - Architecture _architecture; + Architecture _architecture { }; /** * Look up ROM module 'rom_label' in the archives referenced by 'pkg_path' diff --git a/repos/gems/src/app/depot_query/target.mk b/repos/gems/src/app/depot_query/target.mk index d5d7d535cc..d2129486f8 100644 --- a/repos/gems/src/app/depot_query/target.mk +++ b/repos/gems/src/app/depot_query/target.mk @@ -1,5 +1,3 @@ TARGET = depot_query SRC_CC = main.cc LIBS += base vfs - -CC_CXX_WARN_STRICT =