summaryrefslogtreecommitdiff
path: root/src/ivybind.c
diff options
context:
space:
mode:
authorbustico2015-01-07 14:01:47 +0000
committerbustico2015-01-07 14:01:47 +0000
commit0b505ec15a43b4b8e4c2584d0c4f81ff3391f3de (patch)
treec90ded52e7b6385ffea988062f21108dcdb3f185 /src/ivybind.c
parent2d66c27090d6654bbda21f7cc8351b9a64f9b4f9 (diff)
downloadivy-c-0b505ec15a43b4b8e4c2584d0c4f81ff3391f3de.zip
ivy-c-0b505ec15a43b4b8e4c2584d0c4f81ff3391f3de.tar.gz
ivy-c-0b505ec15a43b4b8e4c2584d0c4f81ff3391f3de.tar.bz2
ivy-c-0b505ec15a43b4b8e4c2584d0c4f81ff3391f3de.tar.xz
* fix uninitialised variable in ivy-bind
* start tcl interpreter early * add some pkg-config configuration file * use header file from tcl-dev (which need to be installed)
Diffstat (limited to 'src/ivybind.c')
-rw-r--r--src/ivybind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ivybind.c b/src/ivybind.c
index 27d5705..8f919b2 100644
--- a/src/ivybind.c
+++ b/src/ivybind.c
@@ -270,7 +270,7 @@ int IvyBindingFilter(const char *expression)
FiltredWordPtr word=0;
int err;
int regexp_ok = 1; /* accepte tout par default */
- int tokenlen;
+ int tokenlen = 0;
const char *token;
if ( *expression =='^' && messages_classes !=0 )
@@ -318,4 +318,4 @@ void IvyBindingTerminate()
}
IVY_LIST_EMPTY( messages_classes );
messages_classes = 0;
-} \ No newline at end of file
+}