Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oleksii Turkot
CrystFEL
Commits
d188e3dc
Commit
d188e3dc
authored
Mar 09, 2011
by
Thomas White
Browse files
indexamajig: Fix segfault if called with no indexing method at all
parent
c57e0ce8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/indexamajig.c
View file @
d188e3dc
...
...
@@ -613,7 +613,8 @@ int main(int argc, char *argv[])
return
1
;
}
if
(
strcmp
(
indm_str
,
"none"
)
==
0
)
{
if
(
(
indm_str
==
NULL
)
||
((
indm_str
!=
NULL
)
&&
(
strcmp
(
indm_str
,
"none"
)
==
0
))
)
{
STATUS
(
"Not indexing anything.
\n
"
);
indexer_needs_cell
=
0
;
reduction_needs_cell
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment