From e295e00053fff65f53e45ebb6b149d65225d04a8 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 8 Aug 2012 11:59:46 +0200 Subject: Fix buglets spotted by new compiler on Fedora 17 --- src/process_hkl.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/process_hkl.c') diff --git a/src/process_hkl.c b/src/process_hkl.c index e06270bc..28d54360 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -356,7 +356,6 @@ int main(int argc, char *argv[]) unsigned int n_total_patterns; char *sym_str = NULL; SymOpList *sym; - char *pdb = NULL; char *histo = NULL; signed int hist_h, hist_k, hist_l; signed int hist_nbins=50; @@ -387,7 +386,7 @@ int main(int argc, char *argv[]) }; /* Short options */ - while ((c = getopt_long(argc, argv, "hi:e:o:p:y:g:f:b:z:", + while ((c = getopt_long(argc, argv, "hi:e:o:y:g:f:b:z:", longopts, NULL)) != -1) { switch (c) { @@ -411,10 +410,6 @@ int main(int argc, char *argv[]) config_startafter = atoi(optarg); break; - case 'p' : - pdb = strdup(optarg); - break; - case 'y' : sym_str = strdup(optarg); break; -- cgit v1.2.3