From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8PwtIXnuAWYGcgAA62LTzQ:P1 (envelope-from ) for ; Mon, 25 Mar 2024 22:36:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8PwtIXnuAWYGcgAA62LTzQ (envelope-from ) for ; Mon, 25 Mar 2024 22:36:57 +0100 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; none Received: from mail-a.sr.ht (mail-a.sr.ht [46.23.81.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7AC131A319 for ; Mon, 25 Mar 2024 22:36:54 +0100 (CET) DKIM-Signature: a=rsa-sha256; bh=n32fp7OFG8T1Txyou41z9OsN3cfM45y/iqCerUhl61g=; c=simple/simple; d=lists.sr.ht; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1711402614; v=1; b=RpgU6g+P/rUR/EQI1B3Si6hLUK7FH//U7GlMXPI188h1+zehpX+uwYgRpmM8R5/3QHWo65CV 0OwvpyY9StSWdxVYfRbQSdLGT2l3EQBXTWmvhhcCqQbFXdFbvDCichpwd9oW+8NX8m0tnKlvKiM 6BT2BMyPjT2T+8+LMt16Tup/tPWIX+eCUK62ujwGzi7fZEMSyj3dzXXndKxd22/X5q2hMJSwwAg dbhIZFa8juesuIjHHtVdZLg1JDVViajIN2AWTCOv8bixQEfLtT8exXaSjrVHl1lvPjdFZXBl9RT 0PjhH8dwTTNUMumIRdYjaXmlW4TYndMn951nadnHk+8vw== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 1E3222023A for ; Mon, 25 Mar 2024 21:36:54 +0000 (UTC) Received: from out-172.mta1.migadu.com (out-172.mta1.migadu.com [95.215.58.172]) by mail-a.sr.ht (Postfix) with ESMTPS id 865C02022E for <~johnnyrichard/olang-devel@lists.sr.ht>; Mon, 25 Mar 2024 21:36:53 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1711402613; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5NiAidEYqfX7Ussx4lKQavWgqccq6nM0xi5Wa2K84Pg=; b=W/bU907xod6rIAKS9iIjpxUzO1xfn3IbXYKeG5Ypyq8G6UYSyNTzihzYWMRi6whRf3kb1K T9ehw5GdvO7nRld3l3/GCL6r9cqfgqoQc8a3oD3EfXBt8pK/yS4Ei8ygqq90WM8jj1KXnn BhkyKSw8BqaD8XB3oXhsFQhj6OdZIMZE2mlLF1K5YOTMQ5E8hPJvwVPTi8/ql5SROP2Wtd dFplbNqf9EnGoPfXM4H+5xxaIhXI8fUuFpvLYL0S3RVCdcWUMOH4w4qhpmMGQUSmUN8Ke5 MKlllcctjA8DCK63oMIuZ9ik3w+xRSNT5FkV3s0KMWncmmsj/IUPSR09FiJ1wA== From: Johnny Richard To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Johnny Richard Subject: [PATCH olang v1 2/2] cli: remove code duplication Date: Mon, 25 Mar 2024 23:36:12 +0100 Message-ID: <20240325223715.459442-3-johnny@johnnyrichard.com> In-Reply-To: <20240325223715.459442-1-johnny@johnnyrichard.com> References: <20240325223715.459442-1-johnny@johnnyrichard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Sourcehut-Patchset-Status: PROPOSED List-Unsubscribe: List-Subscribe: List-Archive: Archived-At: List-Post: List-ID: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel.lists.sr.ht> Sender: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel@lists.sr.ht> X-Migadu-Flow: FLOW_IN X-Migadu-Country: NL X-Spam-Score: -4.00 X-Migadu-Queue-Id: 7AC131A319 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.00 X-TUID: 3dGiVDsobEA2 Signed-off-by: Johnny Richard --- Ops... LOL src/main.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main.c b/src/main.c index 70e7d3f..e16695b 100644 --- a/src/main.c +++ b/src/main.c @@ -68,11 +68,6 @@ main(int argc, char **argv) return EXIT_SUCCESS; } - if (opts.options & CLI_OPT_DUMP_TOKENS) { - handle_dump_tokens(&opts); - return EXIT_SUCCESS; - } - return EXIT_FAILURE; } -- 2.44.0