Use braces instead of indentation. C is not Python (#1745)

Co-authored-by: pancake <pancake@nopcode.org>
This commit is contained in:
pancake 2021-05-11 17:31:28 +02:00 committed by GitHub
parent 702dbe78ca
commit f278de39c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
cs.c
View File

@ -707,10 +707,12 @@ cs_err CAPSTONE_API cs_option(csh ud, cs_opt_type type, size_t value)
return CS_ERR_OK;
case CS_OPT_SKIPDATA_SETUP:
if (value)
if (value) {
handle->skipdata_setup = *((cs_opt_skipdata *)value);
if (handle->skipdata_setup.mnemonic == NULL)
if (handle->skipdata_setup.mnemonic == NULL) {
handle->skipdata_setup.mnemonic = SKIPDATA_MNEM;
}
}
return CS_ERR_OK;
case CS_OPT_MNEMONIC: