summary refs log tree commit diff stats
path: root/plugins/exec
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-11-04 04:22:22 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-11-04 04:22:22 +0100
commit4ec499c2417819a174ebd68529da2a21e9c5c72c (patch)
tree1b305cbf9a80517641c1049d5d45d018d0384784 /plugins/exec
parent0e9658f2aba9deddef640da10ca238dd908fb2ac (diff)
Eliminate warnings due to missing includes
Diffstat (limited to 'plugins/exec')
-rw-r--r--plugins/exec/exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/exec/exec.c b/plugins/exec/exec.c
index 483b8e7f..790278a2 100644
--- a/plugins/exec/exec.c
+++ b/plugins/exec/exec.c
@@ -51,6 +51,8 @@ run_command (char *word[], char *word_eol[], void *userdata)
 	secattr.nLength = sizeof (secattr);
 	secattr.bInheritHandle = TRUE;
 
+	timeElapsed = 0.0;
+
 	if (strlen (word[2]) > 0)
 	{
 		strcpy (commandLine, "cmd.exe /c ");