Skip to content

Commit

Permalink
fix: warning at build
Browse files Browse the repository at this point in the history
full warning info: "warning C4101: 'ex': unreferenced local variable"
  • Loading branch information
F1F88 committed Sep 14, 2024
1 parent 1982709 commit 47fbeb6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sourcemod/scripting/include/log4sp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ public Extension __ext_log4sp =
#endif
};

#define LOG4SP_EXT_VERSION "v1.3.1"
#define LOG4SP_EXT_VERSION "v1.3.2"

2 changes: 1 addition & 1 deletion src/extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ void Log4sp::OnRootConsoleCommand(const char *cmdname, const ICommandArgs *args)
{
num = std::stoi(args->Arg(4)); // actually enable_backtrace param type is size_t - unsigned long long
}
catch(const std::exception &ex)
catch(const std::exception &)
{
rootconsole->ConsolePrint("[SM] Usage: sm log4sp enable_bt <logger_name> <num>");
return;
Expand Down
2 changes: 1 addition & 1 deletion src/smsdk_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
/* Basic information exposed publicly */
#define SMEXT_CONF_NAME "Logging for SourcePawn"
#define SMEXT_CONF_DESCRIPTION "SourcePawn logging utils extension to help developers"
#define SMEXT_CONF_VERSION "1.3.1"
#define SMEXT_CONF_VERSION "1.3.2"
#define SMEXT_CONF_AUTHOR "F1F88"
#define SMEXT_CONF_URL "https://github.com/F1F88/sm-ext-log4sp"
#define SMEXT_CONF_LOGTAG "LOG4SP"
Expand Down

0 comments on commit 47fbeb6

Please sign in to comment.