summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2011-05-20 19:22:47 +0000
committernicm <nicm@openbsd.org>2011-05-20 19:22:47 +0000
commit26ac9b7ee9d32e239c84c941827d3221e9b50bb9 (patch)
tree55c532a422a1609cf2256ec7dc09c456b6efaa15
parentRemove a bunch of unused functions, from Michael W Bombardieri. (diff)
downloadwireguard-openbsd-26ac9b7ee9d32e239c84c941827d3221e9b50bb9.tar.xz
wireguard-openbsd-26ac9b7ee9d32e239c84c941827d3221e9b50bb9.zip
Remove a silly XXX for a bit of code that is only used once - no value
in making it a function. From Michael W Bombardieri.
-rw-r--r--usr.bin/cvs/trigger.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/cvs/trigger.c b/usr.bin/cvs/trigger.c
index 2978af66467..ef707adee55 100644
--- a/usr.bin/cvs/trigger.c
+++ b/usr.bin/cvs/trigger.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trigger.c,v 1.19 2010/10/29 17:49:37 nicm Exp $ */
+/* $OpenBSD: trigger.c,v 1.20 2011/05/20 19:22:47 nicm Exp $ */
/*
* Copyright (c) 2008 Tobias Stoeckmann <tobias@openbsd.org>
* Copyright (c) 2008 Jonathan Armani <dbd@asystant.net>
@@ -254,7 +254,6 @@ parse_cmd(int type, char *cmd, const char *repo,
return (NULL);
}
- /* XXX move this out of this function */
/* before doing any stuff, check if the command starts with % */
for (p = cmd; *p != '%' && !isspace(*p) && *p != '\0'; p++)
;