Don't need to print output from nmseffect_exec()

modified:   src/nms.c
This commit is contained in:
Brian Barto 2017-01-19 14:51:21 -05:00
parent 272e780adf
commit ea6983113f

View File

@ -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;