Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
open-iscsi
open-iscsi-remove-dump-char
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File open-iscsi-remove-dump-char of Package open-iscsi
Subject: Comment out unused definitions in log.c From: Hannes Reinecke <hare@suse.de> Date: Fri Dec 5 08:56:45 2008 +0100: Git: ceb0079d1fd46ee67e585d02543400004490877c dump_line and dump_char are never used. So comment them out. Signed-off-by: Hannes Reinecke <hare@suse.de> diff --git a/usr/log.c b/usr/log.c index 4351456..0fb1595 100644 --- a/usr/log.c +++ b/usr/log.c @@ -308,6 +308,7 @@ void log_debug(int level, const char *fmt, ...) } } +#if 0 static void __dump_line(int level, unsigned char *buf, int *cp) { char line[16*3+5], *lp = line; @@ -341,6 +342,7 @@ static void __dump_char(int level, unsigned char *buf, int *cp, int ch) #define dump_line() __dump_line(level, char_buf, &char_cnt) #define dump_char(ch) __dump_char(level, char_buf, &char_cnt, ch) +#endif static void log_flush(void) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor