[smtk-import] Fix useless NULL check and white space issues

As commented by Berthold and Dirk for previous patches.

Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
This commit is contained in:
Salvador Cuñat 2020-04-19 18:44:24 +02:00 committed by Dirk Hohndel
parent e139b7b15f
commit 5a0f2fc2cc

View file

@ -44,7 +44,6 @@ static void smtk_free(char **array, int count)
{ {
int n; int n;
for (n = 0; n < count; n++) for (n = 0; n < count; n++)
if (array[n])
free(array[n]); free(array[n]);
array = NULL; array = NULL;
} }