projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Optimize the common cases (init == NULL or init == "") a bit. replace uses
[platform/upstream/glib.git]
/
gobject
/
gvaluetransform.c
diff --git
a/gobject/gvaluetransform.c
b/gobject/gvaluetransform.c
index
917d8e9
..
20e473e
100644
(file)
--- a/
gobject/gvaluetransform.c
+++ b/
gobject/gvaluetransform.c
@@
-210,7
+210,7
@@
value_transform_flags_string (const GValue *src_value,
if (flags_value)
{
- GString *gstring = g_string_new (
""
);
+ GString *gstring = g_string_new (
NULL
);
guint v_flags = src_value->data[0].v_uint;
do