From 57f9a22abd61d07ecd1699340cacc4ac11004df0 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 7 Nov 2020 01:14:48 +0000 Subject: Remove restriction to 2 operands git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3984 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- other/pamarith.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'other') diff --git a/other/pamarith.c b/other/pamarith.c index d2544d6d..e0a105e7 100644 --- a/other/pamarith.c +++ b/other/pamarith.c @@ -911,11 +911,6 @@ main(int argc, const char *argv[]) { parseCommandLine(argc, argv, &cmdline); - if (cmdline.operandCt != 2) - /* Code for > 2 operands not written yet */ - pm_error("You specified %u operands. We understand only 2.", - cmdline.operandCt); - if1P = pm_openr(cmdline.operandFileNames[0]); if2P = pm_openr(cmdline.operandFileNames[1]); -- cgit 1.4.1