diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-06-14 18:11:57 -0700 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:50 +0100 |
commit | 5eab7bd36ab60f2f1b239f421b8616133703f414 (patch) | |
tree | 9f18cb2dfb2c31df0ab71b3343dac993e9aa1f91 | |
parent | 43ea1a2417d96e34b475c5128067ca6ce8632bff (diff) |
indexamajig: Fix silliness
-rw-r--r-- | src/indexamajig.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index d993adae..89003b34 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -563,11 +563,7 @@ int main(int argc, char *argv[]) cell = load_cell_from_pdb(pdb); if ( cell == NULL ) { - if ( pdb == NULL ) { - ERROR("Couldn't read unit cell (from molecule.pdb)\n"); - } else { - ERROR("Couldn't read unit cell (from %s)\n", pdb); - } + ERROR("Couldn't read unit cell (from %s)\n", pdb); return 1; } free(pdb); |