Remove unnecessary parameter checking code.
authorSung-jae Park <nicesj.park@samsung.com>
Sat, 30 Mar 2013 06:27:05 +0000 (06:27 +0000)
committerSung-jae Park <nicesj.park@samsung.com>
Sat, 30 Mar 2013 06:27:05 +0000 (06:27 +0000)
Maybe accidently remained.

Change-Id: I52200d5067935ae3f2c0db7e2b9af30685ae1a38

src/livebox.c

index 826cf4b..c88761c 100644 (file)
@@ -595,7 +595,7 @@ EAPI struct livebox *livebox_add_with_size(const char *pkgname, const char *cont
        int width = 0;
        int height = 0;
 
-       if (!pkgname || !cluster || !category || width < 0 || height < 0) {
+       if (!pkgname || !cluster || !category) {
                ErrPrint("Invalid arguments: pkgname[%p], cluster[%p], category[%p]\n",
                                                                pkgname, cluster, category);
                return NULL;