From e26ccb28d6d3ee8b6bd3a9956569e6fc0bd6f1c0 Mon Sep 17 00:00:00 2001 From: Seungha Son Date: Wed, 16 Aug 2017 07:45:42 +0900 Subject: [PATCH] Fix build break Signed-off-by: Seungha Son Change-Id: I46179d94809fb053b89467ea676bf3d0e7a502b3 --- src/wgt/step/configuration/step_parse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wgt/step/configuration/step_parse.cc b/src/wgt/step/configuration/step_parse.cc index 705c616..17a3ef9 100644 --- a/src/wgt/step/configuration/step_parse.cc +++ b/src/wgt/step/configuration/step_parse.cc @@ -100,7 +100,7 @@ void AppendWidgetMetadata(GList** metadatas, metadata_x* new_meta = static_cast(calloc(1, sizeof(metadata_x))); if (!new_meta) - return nullptr; + return; new_meta->key = strdup(meta.first.c_str()); if (!meta.second.empty()) new_meta->value = strdup(meta.second.c_str()); -- 2.7.4