dovecot: Removed is_empty_str() macro. Nothing used it, and it's...

dovecot at dovecot.org dovecot at dovecot.org
Sun Sep 16 13:53:22 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/6fdc552c24de
changeset: 6421:6fdc552c24de
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Sep 16 13:26:07 2007 +0300
description:
Removed is_empty_str() macro. Nothing used it, and it's not very useful
anyway.

diffstat:

1 file changed, 3 deletions(-)
src/lib/strfuncs.h |    3 ---

diffs (12 lines):

diff -r a8b515e1a26f -r 6fdc552c24de src/lib/strfuncs.h
--- a/src/lib/strfuncs.h	Sun Sep 16 13:25:23 2007 +0300
+++ b/src/lib/strfuncs.h	Sun Sep 16 13:26:07 2007 +0300
@@ -1,8 +1,5 @@
 #ifndef STRFUNC_H
 #define STRFUNC_H
-
-#define is_empty_str(str) \
-        ((str) == NULL || (str)[0] == '\0')
 
 #define MAX_INT_STRLEN ((sizeof(uintmax_t) * CHAR_BIT + 2) / 3 + 1)
 


More information about the dovecot-cvs mailing list