summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorHaejeong Kim <backto.kim@samsung.com>2017-05-17 07:39:41 (GMT)
committerHaejeong Kim <backto.kim@samsung.com>2017-05-17 07:39:41 (GMT)
commitbeeba1d851b990b7ac150452489c289d2e96dc47 (patch)
tree669fd1fed233a7200e877796d5357db5223785e8 /server
parent06a75284fb5bf7f8ddcd428a507b3efc81af7db4 (diff)
downloadlibmedia-thumbnail-beeba1d851b990b7ac150452489c289d2e96dc47.zip
libmedia-thumbnail-beeba1d851b990b7ac150452489c289d2e96dc47.tar.gz
libmedia-thumbnail-beeba1d851b990b7ac150452489c289d2e96dc47.tar.bz2
Add option to check warning error and fix warningrefs/changes/22/129622/1
Change-Id: I834bfab50cfe98312fa1cba2d1db6ed85da4c3db
Diffstat (limited to 'server')
-rwxr-xr-xserver/thumb-server-internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/thumb-server-internal.c b/server/thumb-server-internal.c
index f3d3bc0..c0b69ea 100755
--- a/server/thumb-server-internal.c
+++ b/server/thumb-server-internal.c
@@ -252,7 +252,7 @@ int _thumb_daemon_process_queue_jobs(gpointer data)
{
int err = MS_MEDIA_ERR_NONE;
char *path = NULL;
- uid_t uid = NULL;
+ uid_t uid = 0;
if (g_cur_idx < g_idx) {
thumb_warn("There are %d jobs in the queue", g_idx - g_cur_idx);