smpp34_dumpBuf.c: remove unused variable
Fixes compilation warning below:
smpp34_dumpBuf.c:52:9: warning: variable ‘lefterror’ set but not used [-Wunused-but-set-variable]
int lefterror = 0;
Change-Id: Iea8ff80d3e4d16aaca6e37d64593b50fa27c8cfb
diff --git a/src/smpp34_dumpBuf.c b/src/smpp34_dumpBuf.c
index 77dfdba..dd0bad4 100644
--- a/src/smpp34_dumpBuf.c
+++ b/src/smpp34_dumpBuf.c
@@ -49,14 +49,12 @@
int size;
uint8_t ind = 3;
uint8_t *buffer = NULL;
- int lefterror = 0;
size = srcL;
buffer = src;
memset(smpp34_strerror, 0, sizeof(smpp34_strerror));
ptrerror = smpp34_strerror;
- lefterror = sizeof(smpp34_strerror);
/* dump buffer character by character until size is reached */
for(i = 0; i < size; i++){