From 5eab7bd36ab60f2f1b239f421b8616133703f414 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 14 Jun 2010 18:11:57 -0700 Subject: indexamajig: Fix silliness --- src/indexamajig.c | 6 +----- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3