]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Pull request #3232: wizard: remove extra semicolon
authorMike Stepanek (mstepane) <mstepane@cisco.com>
Wed, 12 Jan 2022 17:22:12 +0000 (17:22 +0000)
committerMike Stepanek (mstepane) <mstepane@cisco.com>
Wed, 12 Jan 2022 17:22:12 +0000 (17:22 +0000)
Merge in SNORT/snort3 from ~YVELYKOZ/snort3:rem_semicol to master

Squashed commit of the following:

commit a69f31fea7fae9c1367e683da67f01bf46ee7189
Author: Yehor Velykozhon <yvelykoz@cisco.com>
Date:   Wed Jan 12 11:51:26 2022 +0200

    wizard: remove extra semicolon

src/service_inspectors/wizard/wizard.cc

index 67ab959d5b2975b98c5035c8309d7eb601b791b1..2c0ccb01df8901c32d34eb34adb85315cd57ad1f 100644 (file)
@@ -139,7 +139,7 @@ public:
     StreamSplitter* get_splitter(bool) override;
 
     inline bool finished(Wand& w)
-    { return !w.hex && !w.spell && w.curse_tracker.empty(); };
+    { return !w.hex && !w.spell && w.curse_tracker.empty(); }
     void reset(Wand&, bool tcp, bool c2s);
     bool cast_spell(Wand&, Flow*, const uint8_t*, unsigned, uint16_t&);
     bool spellbind(const MagicPage*&, Flow*, const uint8_t*, unsigned);