summaryrefslogtreecommitdiff
path: root/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'function.c')
-rw-r--r--function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/function.c b/function.c
index caf87b9..e190647 100644
--- a/function.c
+++ b/function.c
@@ -693,7 +693,7 @@ func_lastword (char *o, char **argv, const char *funcname UNUSED)
{
unsigned int i;
const char *words = argv[0]; /* Use a temp variable for find_next_token */
- const char *p;
+ const char *p = NULL;
const char *t;
while ((t = find_next_token (&words, &i)))