summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMatthiasWM <visualc.git@matthiasm.com>2025-10-31 19:15:38 +0100
committerMatthiasWM <visualc.git@matthiasm.com>2025-10-31 19:15:38 +0100
commit1ba957eb6096c1df1e6476cccea5dbd3ec3b189d (patch)
treee4984feeb107dbb34682595e2252361d455b15ac /fluid
parent7500b3c5400fa9be56586817dba273d6fe88c68b (diff)
Fix MSVC Level 4 warnings (#1126)
Diffstat (limited to 'fluid')
-rw-r--r--fluid/app/Snap_Action.h2
-rw-r--r--fluid/nodes/Node.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/fluid/app/Snap_Action.h b/fluid/app/Snap_Action.h
index e555f9a44..e5f4c998a 100644
--- a/fluid/app/Snap_Action.h
+++ b/fluid/app/Snap_Action.h
@@ -188,7 +188,7 @@ public:
Snap_Action() : ex(0x7fff), ey(0x7fff), dx(128), dy(128), type(0), mask(0) { }
virtual ~Snap_Action() { }
virtual void check(Snap_Data &d) = 0;
- virtual void draw(Snap_Data &d) { }
+ virtual void draw(Snap_Data &d) { (void)d; }
virtual bool matches(Snap_Data &d);
public:
static int eex, eey;
diff --git a/fluid/nodes/Node.h b/fluid/nodes/Node.h
index 64d720297..a5882233a 100644
--- a/fluid/nodes/Node.h
+++ b/fluid/nodes/Node.h
@@ -240,8 +240,8 @@ public:
virtual Node* click_test(int,int) { return nullptr; }
- virtual void add_child(Node*, Node* beforethis) { }
- virtual void move_child(Node*, Node* beforethis) { }
+ virtual void add_child(Node *, Node *beforethis) { (void)beforethis; }
+ virtual void move_child(Node *, Node *beforethis) { (void)beforethis; }
virtual void remove_child(Node*) { }
/** Give widgets a chance to arrange their children after all children were added.