Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nQ1ei-0001w7-W4 for mharc-grub-devel@gnu.org; Fri, 04 Mar 2022 01:43:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQ1eU-0001sW-Dv for grub-devel@gnu.org; Fri, 04 Mar 2022 01:43:07 -0500 Received: from smtp26.services.sfr.fr ([93.17.128.192]:32992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQ1eQ-0005RI-Hj for grub-devel@gnu.org; Fri, 04 Mar 2022 01:42:58 -0500 X-mail-filterd: {"version":"1.3.4", "queueID":"4K8yw10ycSz1LQKdW", "contextId":"7de4ad9b-37b6-485a-a5c0-a2512f904fcf"} Received: from debian.numericable.fr (89-156-196-228.rev.numericable.fr [89.156.196.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by msfrf2606.sfr.fr (SMTP Server) with ESMTPS id 4K8yw10ycSz1LQKdW; Fri, 4 Mar 2022 07:42:41 +0100 (CET) X-mail-filterd: {"version":"1.3.4", "queueID":"4K8yw105THz1LQKdR", "contextId":"b42eddc7-73ee-46a9-901b-c600bcb66c0e"} X-sfr-mailing: LEGIT X-sfr-spamrating: 40 X-sfr-spam: not-spam DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=noos.fr; s=202006; t=1646376161; h=From:To:Cc:Subject:Date:In-Reply-To:References; bh=ZvH8r6xG1j JiT/yCvmlsnSZpQ5/i4RpSMHyz9I7za4A=; b=k40NMg4yz9zqmcqcUA4I2k6uh4dhbL3PDH3huF ogK5yjWTD+nYxog6+wpA8vTaprA5z6O2RMK/XPpEkvRByWq+tGhW5eQaqgxfGhrIoTDhs+H/yETP W3RaPqTO/Wj4Ok6V0GInMgmoAMQxxMPy4ef4TwDnSbNEEvqmVzOd7K0fFLE8wjK+KSfpv8YuD6n3 cbirt2r4Nx+H8XYAR/XiW2BG6c5fbQqDh5TcQCQqKNWlFTntM/O5ZBKvMb6sPKLA7iFTOhmaMIFU 9F6xBDmRKfQLmtBSPuHdgob/ta4H7ILeAT+kyypHmvgLoMWgDJ3Y2lXNPJ2dPAXsuzcqRD+ArIuA == Received: from debian.numericable.fr (89-156-196-228.rev.numericable.fr [89.156.196.228]) by msfrf2606.sfr.fr (SMTP Server) with ESMTP id 4K8yw105THz1LQKdR; Fri, 4 Mar 2022 07:42:41 +0100 (CET) Received: from debian.numericable.fr (89-156-196-228.rev.numericable.fr [89.156.196.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: ehaouas@noos.fr) by msfrf2606.sfr.fr (SMTP Server) with ESMTPSA; Fri, 4 Mar 2022 07:42:40 +0100 (CET) Authentication-Results: sfr.fr; auth=pass (LOGIN) smtp.auth=ehaouas@noos.fr From: Elyes Haouas To: grub-devel@gnu.org Cc: Elyes Haouas Subject: [PATCH 16/21] script: Remove trailing whitespaces Date: Fri, 4 Mar 2022 07:42:10 +0100 Message-Id: <20220304064215.2474-16-ehaouas@noos.fr> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220304064215.2474-1-ehaouas@noos.fr> References: <20220304064215.2474-1-ehaouas@noos.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=93.17.128.192; envelope-from=ehaouas@noos.fr; helo=smtp26.services.sfr.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2022 06:43:10 -0000 Signed-off-by: Elyes Haouas --- grub-core/script/execute.c | 2 +- grub-core/script/lexer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/grub-core/script/execute.c b/grub-core/script/execute.c index 25158407d..14ff09094 100644 --- a/grub-core/script/execute.c +++ b/grub-core/script/execute.c @@ -788,7 +788,7 @@ cleanup: grub_free (expansions[j]); } grub_free (expansions); - + if (failed) { grub_script_argv_free (&unexpanded); diff --git a/grub-core/script/lexer.c b/grub-core/script/lexer.c index 52004d059..b6812b66c 100644 --- a/grub-core/script/lexer.c +++ b/grub-core/script/lexer.c @@ -303,7 +303,7 @@ grub_script_yylex (union YYSTYPE *value, if (lexerstate->eof) return GRUB_PARSER_TOKEN_EOF; - /* + /* * Words with environment variables, like foo${bar}baz needs * multiple tokens to be merged into a single grub_script_arg. We * use two variables to achieve this: lexerstate->merge_start and -- 2.35.1