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

@ -55,13 +55,8 @@ 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;