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
48677f93
Commit
48677f93
authored
May 11, 2018
by
wuchenghui
Committed by
Andreas Schuh
Sep 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix missing-field-initializers warnings on gcc
parent
6e536553
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
gflags_completions.cc
src/gflags_completions.cc
+6
-1
No files found.
src/gflags_completions.cc
View file @
48677f93
...
...
@@ -179,6 +179,11 @@ struct CompletionOptions {
bool
flag_description_substring_search
;
bool
return_all_matching_flags
;
bool
force_no_update
;
CompletionOptions
()
:
flag_name_substring_search
(
false
),
flag_location_substring_search
(
false
),
flag_description_substring_search
(
false
),
return_all_matching_flags
(
false
),
force_no_update
(
false
)
{
}
};
// Notable flags are flags that are special or preferred for some
...
...
@@ -202,7 +207,7 @@ struct NotableFlags {
static
void
PrintFlagCompletionInfo
(
void
)
{
string
cursor_word
=
FLAGS_tab_completion_word
;
string
canonical_token
;
CompletionOptions
options
=
{
}
;
CompletionOptions
options
=
CompletionOptions
()
;
CanonicalizeCursorWordAndSearchOptions
(
cursor_word
,
&
canonical_token
,
...
...
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