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:
edafdf5
)
Evas textblock: Remove unused alloca.
author
Tom Hacohen
<tom@stosb.com>
Sun, 8 May 2011 15:33:20 +0000
(15:33 +0000)
committer
Tom Hacohen
<tom@stosb.com>
Sun, 8 May 2011 15:33:20 +0000
(15:33 +0000)
SVN revision: 59280
legacy/evas/src/lib/canvas/evas_object_textblock.c
patch
|
blob
|
history
diff --git
a/legacy/evas/src/lib/canvas/evas_object_textblock.c
b/legacy/evas/src/lib/canvas/evas_object_textblock.c
index
23b3f16
..
bf94375
100644
(file)
--- a/
legacy/evas/src/lib/canvas/evas_object_textblock.c
+++ b/
legacy/evas/src/lib/canvas/evas_object_textblock.c
@@
-2965,9
+2965,6
@@
_layout_do_format(const Evas_Object *obj __UNUSED__, Ctxt *c,
}
while ((item = _format_parse(&s)))
{
- char *tmp = alloca(s - item + 1);
- strncpy(tmp, item, s - item);
- tmp[s - item] = '\0';
if (_format_is_param(item))
{
_layout_format_value_handle(c, fmt, item);