mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
split: omit bad_cast
* src/split.c (infile): Now char const *, not char *. (main): Omit unnecessary bad_cast calls.
This commit is contained in:
1 parent
9e67ccd745
commit
1f651f4b3d
1 file changed
+3
-3
+3
-3
@@ -91,7 +91,7 @@ static char const *numeric_suffix_start;
|
||||
static char const *additional_suffix;
|
||||
|
||||
/* Name of input file. May be "-". */
|
||||
static char *infile;
|
||||
static char const *infile;
|
||||
|
||||
/* stat buf for input file. */
|
||||
static struct stat in_stat_buf;
|
||||
@@ -1367,8 +1367,8 @@ main (int argc, char **argv)
|
||||
|
||||
/* Parse command line options. */
|
||||
|
||||
infile = bad_cast ("-");
|
||||
outbase = bad_cast ("x");
|
||||
infile = "-";
|
||||
outbase = "x";
|
||||
|
||||
while (true)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user