Don't need to print output from nmseffect_exec()
modified: src/nms.c
This commit is contained in:
parent
272e780adf
commit
ea6983113f
@ -56,12 +56,7 @@ int main(int argc, char *argv[]) {
|
||||
// Execute effect
|
||||
c = nmseffect_exec(input);
|
||||
|
||||
// Print out from nms_exec if it is not null
|
||||
if (c) {
|
||||
printf("%c", c);
|
||||
}
|
||||
|
||||
// Don't forget to free the allocated memory!
|
||||
// Free allocated memory (not necessary here, but good practice)
|
||||
free(input);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user