]> xenbits.xensource.com Git - libvirt.git/commitdiff
virlog: Remove unused macro IS_SPACE
authorErik Skultety <eskultet@redhat.com>
Thu, 6 Oct 2016 07:53:53 +0000 (09:53 +0200)
committerErik Skultety <eskultet@redhat.com>
Mon, 10 Oct 2016 06:27:24 +0000 (08:27 +0200)
During first stage of virlog.c refactor, commit 0b231195 forgot to remove the
macro definition along with its usage.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
src/util/virlog.c

index f5b88b68f7b4107f1894650c17e6bac813b6ab44..4f764dc2608cbe85acefc5c570944abf498def45 100644 (file)
@@ -1132,10 +1132,6 @@ int virLogPriorityFromSyslog(int priority ATTRIBUTE_UNUSED)
 }
 #endif /* HAVE_SYSLOG_H */
 
-#define IS_SPACE(cur)                                                   \
-    ((*cur == ' ') || (*cur == '\t') || (*cur == '\n') ||               \
-     (*cur == '\r') || (*cur == '\\'))
-
 
 static int
 virLogParseOutput(const char *src)