Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
gflags
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
gflags
Commits
ac6834e9
Commit
ac6834e9
authored
Nov 26, 2016
by
Andreas Schuh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Remove unused program_name variable
parent
22ed2ce6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
gflags.cc
src/gflags.cc
+0
-3
No files found.
src/gflags.cc
View file @
ac6834e9
...
...
@@ -1061,9 +1061,6 @@ static string ReadFileIntoString(const char* filename) {
uint32
CommandLineFlagParser
::
ParseNewCommandLineFlags
(
int
*
argc
,
char
***
argv
,
bool
remove_flags
)
{
const
char
*
program_name
=
strrchr
((
*
argv
)[
0
],
PATH_SEPARATOR
);
// nix path
program_name
=
(
program_name
==
NULL
?
(
*
argv
)[
0
]
:
program_name
+
1
);
int
first_nonopt
=
*
argc
;
// for non-options moved to the end
registry_
->
Lock
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment