aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBuddy Liong2014-08-20 12:11:15 -0500
committerBuddy Liong2014-08-20 12:23:13 -0500
commitdd6d57718a7b5ddcc5234fe7c9f15ea87ed33858 (patch)
tree4f74b6c0286e8922a3415e54b3b7e0226bcfcb48 /memplugin_qnx.c
parent89c5d181a8e65e958e9e1c221d7f34984933d859 (diff)
downloadrepo-libdce-dd6d57718a7b5ddcc5234fe7c9f15ea87ed33858.tar.gz
repo-libdce-dd6d57718a7b5ddcc5234fe7c9f15ea87ed33858.tar.xz
repo-libdce-dd6d57718a7b5ddcc5234fe7c9f15ea87ed33858.zip
[QNX] Fixing compiler warning.
When compiling with QNX SDP 6.6, compiler issues warning of: /libdce/memplugin_qnx.c: In function 'memplugin_alloc': /libdce/memplugin_qnx.c:46:25: warning: variable 'eError' set but not used [-Wunused-but-set-variable] /libdce/memplugin_qnx.c: In function 'memplugin_free': /libdce/memplugin_qnx.c:109:25: warning: variable 'eError' set but not used [-Wunused-but-set-variable] Change-Id: Iebb4e68fd036e5bb750198f5b60d38f44c5cd856 Signed-off-by: Buddy Liong <buddy.budiono@ti.com>
Diffstat (limited to 'memplugin_qnx.c')
-rw-r--r--memplugin_qnx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/memplugin_qnx.c b/memplugin_qnx.c
index c91193e..67311c1 100644
--- a/memplugin_qnx.c
+++ b/memplugin_qnx.c
@@ -99,6 +99,7 @@ void *memplugin_alloc(int sz, int height, MemRegion region, int align, int flags
99 return (H2P(h)); 99 return (H2P(h));
100 } 100 }
101EXIT: 101EXIT:
102 DEBUG("memplugin_alloc eError=%d", eError);
102 return (NULL); 103 return (NULL);
103} 104}
104 105
@@ -122,7 +123,8 @@ void memplugin_free(void *ptr)
122 } else { 123 } else {
123 ERROR("Tiler 2D Allocation/Free not implemented"); 124 ERROR("Tiler 2D Allocation/Free not implemented");
124 } 125 }
125EXIT:; 126EXIT:
127 DEBUG("memplugin_free eError=%d", eError);
126} 128}
127 129
128inline int32_t memplugin_share(void *ptr) 130inline int32_t memplugin_share(void *ptr)