mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl: remove redundant duplicate expression
Resolves Cppcheck style warning: [zipl/boot/stage3.c:260]: (style) Same expression on both sides of '&&'. Cc: Stefan Haberland <stefan.haberland@de.ibm.com> Cc: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Signed-off-by: Jens Remus <jremus@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* Main program for stage3 bootloader
|
||||
*
|
||||
* Copyright IBM Corp. 2013, 2017
|
||||
* Copyright IBM Corp. 2013, 2018
|
||||
*
|
||||
* s390-tools is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the MIT license. See LICENSE for details.
|
||||
@@ -257,7 +257,7 @@ void start(void)
|
||||
length++;
|
||||
|
||||
/* find end of original parm line */
|
||||
while (command_line[end] != 0 && command_line[end] != 0)
|
||||
while (command_line[end] != 0)
|
||||
end++;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user