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
This commit is contained in:
Pau Espin 2017-09-15 18:58:47 +02:00
parent 823e711018
commit a11a464552
1 changed files with 0 additions and 2 deletions

View File

@ -49,14 +49,12 @@ smpp34_dumpBuf(uint8_t *dest, int destL, uint8_t *src, int srcL)
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++){