projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Enable _FORTIFY_SOURCE and stack protector checking
[fio.git]
/
parse.c
diff --git
a/parse.c
b/parse.c
index 29e2ff1ce9d347a8017f1685711264bcdd6900e0..cab6ca727d37005641afd36f83835dccf82101f5 100644
(file)
--- a/
parse.c
+++ b/
parse.c
@@
-312,7
+312,7
@@
static int handle_option(struct fio_option *o, const char *ptr, void *data)
* Do this before parsing the first round, to check if we should
* copy set 1 options to set 2.
*/
- if (ptr) {
+ if (ptr
&& (o->type != FIO_OPT_STR_STORE)
) {
ptr2 = strchr(ptr, ',');
if (!ptr2)
ptr2 = strchr(ptr, ':');