diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-05-08 21:15:08 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-05-18 06:41:36 -0400 |
commit | 91f1119528b57f94d178f0cfb12efafd0c90bbc9 (patch) | |
tree | b98c68ebf25eb4c477fa99c2548d2c8a4804a4c0 /src/Manage.c | |
parent | 43a65ae23370e0f7fb427e96c6d9037d8fa1af35 (diff) |
fixes cppcheck "style" warnings (mostly variable-scope)
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/Manage.c')
-rw-r--r-- | src/Manage.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Manage.c b/src/Manage.c index c877842..96bacbb 100644 --- a/src/Manage.c +++ b/src/Manage.c @@ -416,7 +416,6 @@ void XtChangeManagedSet( int i; Cardinal some_unmanaged; Boolean call_out; - CompositeClassExtension ext; XtAppContext app; Widget hookobj; XtChangeHookDataRec call_data; @@ -455,7 +454,7 @@ void XtChangeManagedSet( call_out = False; if (do_change_proc) { - ext = (CompositeClassExtension) + CompositeClassExtension ext = (CompositeClassExtension) XtGetClassExtension(parent->core.widget_class, XtOffsetOf(CompositeClassRec, composite_class.extension), |