projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73af347
)
Eina strbuf: Remove unused variable.
author
Tom Hacohen
<tom@stosb.com>
Tue, 4 Aug 2015 10:29:34 +0000
(11:29 +0100)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/src/lib/eina/eina_strbuf_common.c
b/src/lib/eina/eina_strbuf_common.c
index
9c40183
..
1a53c90
100644
(file)
--- a/
src/lib/eina/eina_strbuf_common.c
+++ b/
src/lib/eina/eina_strbuf_common.c
@@
-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";
/**