Skip to content

Commit

Permalink
Fix compiling without localization
Browse files Browse the repository at this point in the history
When compiling without localization a parameter was unused.
This commit adds logic to properly void it
  • Loading branch information
ifreund committed Nov 18, 2019
1 parent a3b0f0f commit 2b104cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/path_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,10 @@ std::string find_translated_file( const std::string &base_path, const std::strin
}
}
}
#endif
#else
( void ) base_path;
( void ) extension;
#endif
return fallback;
}
std::string PATH_INFO::autopickup()
Expand Down

0 comments on commit 2b104cb

Please sign in to comment.