Skip to content

Commit 86a7f3d

Browse files
committed
more help for clang
1 parent b22619a commit 86a7f3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ientry.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,11 @@ ientry_set_property(GObject *object,
155155
{
156156
iEntry *ientry = (iEntry *) object;
157157

158+
const char *text;
159+
158160
switch (prop_id) {
159161
case PROP_TEXT:
160-
const char *text = g_value_get_string(value);
162+
text = g_value_get_string(value);
161163
if (text &&
162164
!g_str_equal(text, ientry->text)) {
163165
VIPS_SETSTR(ientry->text, text);

0 commit comments

Comments
 (0)