From ea6983113fe81ef53d55467717fbe81d979c1a0d Mon Sep 17 00:00:00 2001 From: Brian Barto Date: Thu, 19 Jan 2017 14:51:21 -0500 Subject: [PATCH] Don't need to print output from nmseffect_exec() modified: src/nms.c --- src/nms.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/nms.c b/src/nms.c index 3da434d..66abaa2 100644 --- a/src/nms.c +++ b/src/nms.c @@ -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;