mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-25 22:03:00 +00:00
fix pointer style to match the style guide
We do this in a lot of places, but we're inconsistent. Normalize the code to the Google C++ style guide. Change-Id: Ic2aceab661ce8f6b993dda21b1cdf5d2198dcbbf Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2262932 Reviewed-by: Sterling Augustine <saugustine@google.com> Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
@@ -111,7 +111,7 @@ SetupOptions(int argc, const char *argv[], Options *options) {
|
||||
extern int optind;
|
||||
int ch;
|
||||
|
||||
while ((ch = getopt(argc, (char * const *)argv, "p:u:v:x:h?")) != -1) {
|
||||
while ((ch = getopt(argc, (char * const*)argv, "p:u:v:x:h?")) != -1) {
|
||||
switch (ch) {
|
||||
case 'p':
|
||||
options->product = optarg;
|
||||
|
||||
@@ -115,7 +115,7 @@ SetupOptions(int argc, const char *argv[], Options *options) {
|
||||
int ch;
|
||||
constexpr char flag_pattern[] = "u:v:x:p:k:t:c:i:hf?";
|
||||
|
||||
while ((ch = getopt(argc, (char * const *)argv, flag_pattern)) != -1) {
|
||||
while ((ch = getopt(argc, (char * const*)argv, flag_pattern)) != -1) {
|
||||
switch (ch) {
|
||||
case 'h':
|
||||
case '?':
|
||||
|
||||
Reference in New Issue
Block a user