From d0b505f32d433d55dcf72829da1b4048334cf8d3 Mon Sep 17 00:00:00 2001 From: Uleat Date: Mon, 16 Sep 2019 20:39:05 -0400 Subject: [PATCH] Undefined Behavior fix... --- common/rulesys.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/rulesys.cpp b/common/rulesys.cpp index 035cff07a..92a209dcb 100644 --- a/common/rulesys.cpp +++ b/common/rulesys.cpp @@ -602,6 +602,8 @@ bool RuleManager::RestoreRuleNotes(Database *db) if (update_count > 0) { Log(Logs::General, Logs::Status, "%u Rule Note%s Restored", update_count, (update_count == 1 ? "" : "s")); } + + return true; } int RuleManager::GetRulesetID(Database *database, const char *ruleset_name) {