[gtk/static-analysis-fixes: 1/13] gdktoplevelsize: Comment out some unused code
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/static-analysis-fixes: 1/13] gdktoplevelsize: Comment out some unused code
- Date: Mon, 3 May 2021 11:45:01 +0000 (UTC)
commit 1be4684441c898df79d260ec7da7d2efb5d83168
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 2 22:34:22 2021 -0400
gdktoplevelsize: Comment out some unused code
This is not currently useful, and clang complains.
gdk/gdktoplevelsize.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gdk/gdktoplevelsize.c b/gdk/gdktoplevelsize.c
index b7e3213559..186edb4d9b 100644
--- a/gdk/gdktoplevelsize.c
+++ b/gdk/gdktoplevelsize.c
@@ -150,6 +150,7 @@ gdk_toplevel_size_set_shadow_width (GdkToplevelSize *size,
void
gdk_toplevel_size_validate (GdkToplevelSize *size)
{
+#if 0
int geometry_width, geometry_height;
geometry_width = size->width;
@@ -159,4 +160,5 @@ gdk_toplevel_size_validate (GdkToplevelSize *size)
geometry_width -= size->shadow.left + size->shadow.right;
geometry_height -= size->shadow.top + size->shadow.bottom;
}
+#endif
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]