summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlum <lum@openbsd.org>2015-01-02 11:43:15 +0000
committerlum <lum@openbsd.org>2015-01-02 11:43:15 +0000
commitfc51bbd5b0eefe4c7a521770698c7f5f16bff2ef (patch)
tree19bff0946457959b2ffca32472564f8e89fb9456
parentadjust date (diff)
downloadwireguard-openbsd-fc51bbd5b0eefe4c7a521770698c7f5f16bff2ef.tar.xz
wireguard-openbsd-fc51bbd5b0eefe4c7a521770698c7f5f16bff2ef.zip
Remove unused variable.
-rw-r--r--usr.bin/mg/cmode.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/mg/cmode.c b/usr.bin/mg/cmode.c
index db42cf3d357..8a0ff0c7679 100644
--- a/usr.bin/mg/cmode.c
+++ b/usr.bin/mg/cmode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmode.c,v 1.10 2014/11/16 01:08:36 guenther Exp $ */
+/* $OpenBSD: cmode.c,v 1.11 2015/01/02 11:43:15 lum Exp $ */
/*
* This file is in the public domain.
*
@@ -217,7 +217,6 @@ getindent(const struct line *lp, int *curi)
{
int lo, co; /* leading space, current offset*/
int nicol = 0; /* position count */
- int ccol = 0; /* current column */
int c = '\0'; /* current char */
int newind = 0; /* new index value */
int stringp = FALSE; /* in string? */
@@ -256,7 +255,6 @@ getindent(const struct line *lp, int *curi)
nicol = 0;
newind = 0;
- ccol = nicol; /* current column */
/* Compute modifiers */
for (co = lo; co < llength(lp); co++) {
c = lgetc(lp, co);