Eina strbuf: Remove unused variable.
authorTom Hacohen <tom@stosb.com>
Tue, 4 Aug 2015 10:29:34 +0000 (11:29 +0100)
committerTom Hacohen <tom@stosb.com>
Tue, 4 Aug 2015 10:29:34 +0000 (11:29 +0100)
It's never used because it's the base type and the others override the
magic anyway.

src/lib/eina/eina_strbuf_common.c

index 9c40183..1a53c90 100644 (file)
@@ -801,14 +801,8 @@ eina_strbuf_common_length_get(const Eina_Strbuf *buf)
 # undef _STRBUF_MAGIC
 #endif
 
-#ifdef _STRBUF_MAGIC_STR
-# undef _STRBUF_MAGIC_STR
-#endif
-
 #define _STRBUF_CSIZE 1
 #define _STRBUF_MAGIC             EINA_MAGIC_STRBUF
-#define _STRBUF_MAGIC_STR         __STRBUF_STR_MAGIC_STR
-static const char __STRBUF_STR_MAGIC_STR[] = "Eina Strbuf";
 
 
 /**