diff options
author | Thomas White <taw@bitwiz.org.uk> | 2012-08-08 11:59:46 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2012-08-08 11:59:46 +0200 |
commit | e295e00053fff65f53e45ebb6b149d65225d04a8 (patch) | |
tree | 47e6bd3264bff5d592e281b7019c5b284a3a64bf /src/process_hkl.c | |
parent | 7903f6c31f7a13c26d97bdf1f7791c5b5804ea84 (diff) |
Fix buglets spotted by new compiler on Fedora 17
Diffstat (limited to 'src/process_hkl.c')
-rw-r--r-- | src/process_hkl.c | 7 |
1 files changed, 1 insertions, 6 deletions
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; |