Fix comparison of array to NULL
authorRoland Schulz <roland@utk.edu>
Sat, 3 May 2014 16:27:14 +0000 (12:27 -0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 9 May 2014 19:05:00 +0000 (21:05 +0200)
commit59ebcc4efa8b46c34572a22eb31ccc59714b9dca
tree9092795ce5a28422df5d782a425a33ea0f3f6d9f
parent1425e812d96d04fd2323f3471a1d21682ee7b8db
Fix comparison of array to NULL

Static char array is never NULL. Detected by clang 3.5. Also fixes
output of read_atype and print error for incorrect format.

Change-Id: I834fca2d8fdd49167a88dc15bc7a2e72f4d97269
src/gromacs/gmxlib/gmx_detect_hardware.c
src/gromacs/gmxpreprocess/resall.c