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
|
// Execute effect
|
||||||
c = nmseffect_exec(input);
|
c = nmseffect_exec(input);
|
||||||
|
|
||||||
// Print out from nms_exec if it is not null
|
// Free allocated memory (not necessary here, but good practice)
|
||||||
if (c) {
|
|
||||||
printf("%c", c);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Don't forget to free the allocated memory!
|
|
||||||
free(input);
|
free(input);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user