about summary refs log tree commit diff
path: root/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-11-07 01:14:48 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-11-07 01:14:48 +0000
commit57f9a22abd61d07ecd1699340cacc4ac11004df0 (patch)
tree6f32ec57cffc6ad2a53954485793a282e3932690 /other
parenta16ccc11c0f28ec2e93515507ba6d68d62942f03 (diff)
downloadnetpbm-mirror-57f9a22abd61d07ecd1699340cacc4ac11004df0.tar.gz
netpbm-mirror-57f9a22abd61d07ecd1699340cacc4ac11004df0.tar.xz
netpbm-mirror-57f9a22abd61d07ecd1699340cacc4ac11004df0.zip
Remove restriction to 2 operands
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3984 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other')
-rw-r--r--other/pamarith.c5
1 files changed, 0 insertions, 5 deletions
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]);