mobile/gsm322.c: prevent calling memset() with zero length
commit43ecde0fced685bc5b4fa4818df36a6bc394df59
authorVadim Yanitskiy <axilirator@gmail.com>
Thu, 2 Nov 2017 10:51:19 +0000 (2 17:51 +0700)
committerHarald Welte <laforge@gnumonks.org>
Thu, 9 Nov 2017 03:46:41 +0000 (9 03:46 +0000)
tree9b873517e5e92bf5128ccf478799bffe25c7a54c
parent52fbe66ca7ca22a834f368bc783a3400a46fd09e
mobile/gsm322.c: prevent calling memset() with zero length

This change prevents a possibility of calling memset()
with constant zero length parameter, and the corresponding
compiler warning.

Change-Id: I2d8d78474614939659a7f24d5007b1c890776b1a
src/host/layer23/src/mobile/gsm322.c