mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
[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:
parent
e139b7b15f
commit
5a0f2fc2cc
1 changed files with 4 additions and 5 deletions
|
@ -44,7 +44,6 @@ static void smtk_free(char **array, int count)
|
|||
{
|
||||
int n;
|
||||
for (n = 0; n < count; n++)
|
||||
if (array[n])
|
||||
free(array[n]);
|
||||
array = NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue