diff options
author | Bert Vermeulen <bert@biot.com> | 2013-09-11 12:35:17 +0200 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2013-10-14 10:43:10 +0200 |
commit | 1f2e00d140ac41a3a61888f67fc6f96c4369bea3 (patch) | |
tree | ef74ce33ac726021d81a39be545cb8fe4e13abc8 /log.c | |
parent | 6fd278bac7d10e967e708171e2b3aa8b3382a2ff (diff) | |
download | libsigrokdecode-1f2e00d140ac41a3a61888f67fc6f96c4369bea3.tar.gz libsigrokdecode-1f2e00d140ac41a3a61888f67fc6f96c4369bea3.zip |
Code cleanup
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -127,7 +127,6 @@ SRD_API int srd_log_logdomain_set(const char *logdomain) return SRD_ERR_ARG; } - /* TODO: Error handling. */ snprintf((char *)&srd_log_domain, LOGDOMAIN_MAXLEN, "%s", logdomain); srd_dbg("Log domain set to '%s'.", (const char *)&srd_log_domain); @@ -211,7 +210,7 @@ static int srd_logv(void *cb_data, int loglevel, const char *format, /* Only output messages of at least the selected loglevel(s). */ if (loglevel > srd_loglevel) - return SRD_OK; /* TODO? */ + return SRD_OK; if (srd_log_domain[0] != '\0') fprintf(stderr, "%s", srd_log_domain); |