Commit 6fa4c9ca authored by Erik Faye-Lund's avatar Erik Faye-Lund
Browse files

remove redundant scope


Signed-off-by: default avatarErik Faye-Lund <kusmabite@gmail.com>
parent 35a4a59f
......@@ -311,10 +311,7 @@ pimp_module *load_module_mod(FILE *fp, struct pimp_sample_bank *sample_bank)
pat->row_count = 64;
pattern_data = (struct pimp_pattern_entry *)malloc(sizeof(struct pimp_pattern_entry) * mod->channel_count * pat->row_count);
if (NULL == pattern_data)
{
return NULL;
}
if (NULL == pattern_data) return NULL;
pimp_set_ptr(&pat->data_ptr, pattern_data);
/* clear memory */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment