summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2013-01-25 11:04:37 +0000
committerSung-jae Park <nicesj.park@samsung.com>2013-01-25 11:04:37 +0000
commitf43431a61395f04dde2cbfa328ac33a6409c0282 (patch)
tree39eca84de2b0b2905019edbafea01b97adb3942c
parente64ed861c9299884b4b49f71a2be46dd460d952c (diff)
downloadlivebox-service-f43431a61395f04dde2cbfa328ac33a6409c0282.tar.gz
livebox-service-f43431a61395f04dde2cbfa328ac33a6409c0282.tar.bz2
livebox-service-f43431a61395f04dde2cbfa328ac33a6409c0282.zip
Fix the GCC 4.7 build error
Change-Id: Ic3a34235258cb1a531053a97c142c86bc884d69d
-rw-r--r--packaging/liblivebox-service.spec2
-rw-r--r--src/livebox-service.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/liblivebox-service.spec b/packaging/liblivebox-service.spec
index 7f0ab49..b87430a 100644
--- a/packaging/liblivebox-service.spec
+++ b/packaging/liblivebox-service.spec
@@ -1,6 +1,6 @@
Name: liblivebox-service
Summary: Library for the development of a livebox service
-Version: 0.2.12
+Version: 0.2.13
Release: 1
Group: main/app
License: Flora License
diff --git a/src/livebox-service.c b/src/livebox-service.c
index 1632389..6d3477e 100644
--- a/src/livebox-service.c
+++ b/src/livebox-service.c
@@ -1192,7 +1192,7 @@ EAPI char *livebox_service_appid(const char *pkgname)
char *appid;
char *tmp;
sqlite3 *handle;
- int is_prime;
+ int is_prime __attribute__((__unused__));
int ret;
if (!pkgname)