summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2020-10-19 01:33:28 (GMT)
committerKevin Walzer <kw@codebykevin.com>2020-10-19 01:33:28 (GMT)
commit6b4be7d87e65c06f37c97bfd8db69fae7f099310 (patch)
treeff6d16aa754bd54167675e36b2bd7572ba352eda
parentb5ca193469f07029b45f8364314f8731c12648f4 (diff)
downloadtk-6b4be7d87e65c06f37c97bfd8db69fae7f099310.zip
tk-6b4be7d87e65c06f37c97bfd8db69fae7f099310.tar.gz
tk-6b4be7d87e65c06f37c97bfd8db69fae7f099310.tar.bz2
Compiler warnings
-rwxr-xr-xunix/tkUnixSysNotify.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/unix/tkUnixSysNotify.c b/unix/tkUnixSysNotify.c
index 711ad6a..d1bfef3 100755
--- a/unix/tkUnixSysNotify.c
+++ b/unix/tkUnixSysNotify.c
@@ -86,9 +86,8 @@ static int SysNotifyCmd(
Tk_PhotoHandle tk_image;
int width, height;
Tk_PhotoImageBlock imgData;
-
-
- tk_image = Tk_FindPhoto(interp, Tcl_GetString(objv[3]);
+
+ tk_image = Tk_FindPhoto(interp, Tcl_GetString(objv[3]));
Tk_PhotoGetSize(tk_image, &width, &height);
Tk_PhotoGetImage(tk_image, &imgData);