Skip to content

Commit

Permalink
fix warnings in switch
Browse files Browse the repository at this point in the history
  • Loading branch information
apolukhin committed Nov 23, 2019
1 parent 6708393 commit 86a799d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/boost/dll/library_info.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ class library_info: private boost::noncopyable {
std::ifstream f_;

enum {
fmt_none = 0,
fmt_elf_info32,
fmt_elf_info64,
fmt_pe_info32,
Expand Down Expand Up @@ -81,8 +80,6 @@ class library_info: private boost::noncopyable {
}

void init(bool throw_if_not_native) {
fmt_ = fmt_none;

if (boost::dll::detail::elf_info32::parsing_supported(f_)) {
if (throw_if_not_native) { throw_if_in_windows(); throw_if_in_macos(); }

Expand Down

0 comments on commit 86a799d

Please sign in to comment.