FIX: Coverity Scan complains about resourceleaks, array reads outside of index, uninitialized variables.

This commit is contained in:
iceman1001 2016-01-20 17:13:25 +01:00
commit 4a71da5a35
6 changed files with 94 additions and 113 deletions

View file

@ -903,10 +903,7 @@ int SendDataTag(uint8_t *send, int sendlen, int init, int speed, uint8_t **recv)
*recv=answer;
}
LED_A_OFF();
LED_B_OFF();
LED_C_OFF();
LED_D_OFF();
LEDsoff();
return answerLen;
}