summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2011-06-14 14:47:02 +0100
committerRichard Hughes <richard@hughsie.com>2011-06-14 14:47:02 +0100
commitf74ba5dccb236d392b6ceb8e4f9c54533cb81438 (patch)
treee1278fb42d1dfd3de980948f114e4182f198b1fd /client
parenta9287d35227e5c543f0602359aa61b7368ba9768 (diff)
downloadcolord-f74ba5dccb236d392b6ceb8e4f9c54533cb81438.tar.gz
Remove colord.pot as it's autogenerated and is breaking buildbot
Diffstat (limited to 'client')
-rw-r--r--client/cd-common.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/client/cd-common.c b/client/cd-common.c
index 21614aa..0515539 100644
--- a/client/cd-common.c
+++ b/client/cd-common.c
@@ -96,9 +96,11 @@ out:
cmsDictFree (dict);
g_strfreev (metadata_split);
#else
- g_set_error (error, 1, 0,
- "no LCMS2 DICT support, so cannot write %s",
- metadata);
+ if (metadata != NULL) {
+ g_set_error (error, 1, 0,
+ "no LCMS2 DICT support, so cannot write %s",
+ metadata);
+ }
#endif
return ret;
}