diff options
author | jkim <jkim@FreeBSD.org> | 2013-05-21 19:17:02 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-05-21 19:17:02 +0000 |
commit | f35b94300055627286d77f0dd748057f5d98b5f0 (patch) | |
tree | 45ae45805b4cd1c1f3f6b1317cc45e1277e9eb25 /contrib/flex/buf.c | |
parent | af3aaf871a18c81e9986f6470064ec11a6d7ef1a (diff) | |
download | FreeBSD-src-f35b94300055627286d77f0dd748057f5d98b5f0.zip FreeBSD-src-f35b94300055627286d77f0dd748057f5d98b5f0.tar.gz |
Reduce compiler warnings.
Diffstat (limited to 'contrib/flex/buf.c')
-rw-r--r-- | contrib/flex/buf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/flex/buf.c b/contrib/flex/buf.c index e5deb4e..fa713a6 100644 --- a/contrib/flex/buf.c +++ b/contrib/flex/buf.c @@ -90,7 +90,8 @@ struct Buf *buf_prints (struct Buf *buf, const char *fmt, const char *s) */ struct Buf *buf_linedir (struct Buf *buf, const char* filename, int lineno) { - char *dst, *src, *t; + char *dst, *t; + const char *src; t = flex_alloc (strlen ("#line \"\"\n") + /* constant parts */ 2 * strlen (filename) + /* filename with possibly all backslashes escaped */ |