Build with -Wno-deprecated-declarations: readdir_r 08/106708/1 submit/tizen/20161223.084617
authorIvan Baravy <i.baravy@samsung.com>
Thu, 10 Nov 2016 18:00:44 +0000 (21:00 +0300)
committerDmitry Kovalenko <d.kovalenko@samsung.com>
Thu, 22 Dec 2016 12:13:30 +0000 (15:13 +0300)
Remove unused variable: ui_viewer_utils.c:TMP_BUF_SIZE

Change-Id: I0d16ea1736824eaecaeb3d37b5cc90f5b9d99911

daemon/Makefile
ui_viewer/ui_viewer_utils.c

index 3646e98..8af111f 100644 (file)
@@ -197,6 +197,7 @@ endif # NSP_SUPPORT
 ifeq ($(WSI_SUPPORT),y)
   SRC_C += wsi.c
   LDFLAGS += -lwebsockets -ljson-c
+  CFLAGS += -Wno-deprecated-declarations
   CFLAGS += -DWSI_SUPPORT
   GENERATED_WSI_PROF_H = include/generated/wsi_prof.h
   GENERATED_HEADERS += $(GENERATED_WSI_PROF_H)
index 0623a9f..7af1499 100644 (file)
@@ -48,7 +48,6 @@ struct temp_file_t {
        char *name;
 };
 
-static const ssize_t TMP_BUF_SIZE = 262144;
 static const char log_filename[] = "/tmp/uilib.log";
 static pthread_mutex_t log_lock = PTHREAD_MUTEX_INITIALIZER;
 static pid_t gPid = -1;