File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,11 @@ static void open_browser(utility::string_t auth_uri)
64
64
#elif defined(__APPLE__)
65
65
// NOTE: OS X only.
66
66
string_t browser_cmd (U (" open \" " ) + auth_uri + U (" \" " ));
67
- system (browser_cmd.c_str ());
67
+ ( void ) system (browser_cmd.c_str ());
68
68
#else
69
69
// NOTE: Linux/X11 only.
70
70
string_t browser_cmd (U (" xdg-open \" " ) + auth_uri + U (" \" " ));
71
- system (browser_cmd.c_str ());
71
+ ( void ) system (browser_cmd.c_str ());
72
72
#endif
73
73
}
74
74
@@ -301,3 +301,4 @@ int main(int argc, char *argv[])
301
301
ucout << " Done." << std::endl;
302
302
return 0 ;
303
303
}
304
+
Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ static void open_browser(utility::string_t auth_uri)
67
67
#elif defined(__APPLE__)
68
68
// NOTE: OS X only.
69
69
string_t browser_cmd (U (" open \" " ) + auth_uri + U (" \" " ));
70
- system (browser_cmd.c_str ());
70
+ ( void ) system (browser_cmd.c_str ());
71
71
#else
72
72
// NOTE: Linux/X11 only.
73
73
string_t browser_cmd (U (" xdg-open \" " ) + auth_uri + U (" \" " ));
74
- system (browser_cmd.c_str ());
74
+ ( void ) system (browser_cmd.c_str ());
75
75
#endif
76
76
}
77
77
@@ -321,3 +321,4 @@ int main(int argc, char *argv[])
321
321
ucout << " Done." << std::endl;
322
322
return 0 ;
323
323
}
324
+
You can’t perform that action at this time.
0 commit comments