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)
6464#elif defined(__APPLE__)
6565 // NOTE: OS X only.
6666 string_t browser_cmd (U (" open \" " ) + auth_uri + U (" \" " ));
67- system (browser_cmd.c_str ());
67+ ( void ) system (browser_cmd.c_str ());
6868#else
6969 // NOTE: Linux/X11 only.
7070 string_t browser_cmd (U (" xdg-open \" " ) + auth_uri + U (" \" " ));
71- system (browser_cmd.c_str ());
71+ ( void ) system (browser_cmd.c_str ());
7272#endif
7373}
7474
@@ -301,3 +301,4 @@ int main(int argc, char *argv[])
301301 ucout << " Done." << std::endl;
302302 return 0 ;
303303}
304+
Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ static void open_browser(utility::string_t auth_uri)
6767#elif defined(__APPLE__)
6868 // NOTE: OS X only.
6969 string_t browser_cmd (U (" open \" " ) + auth_uri + U (" \" " ));
70- system (browser_cmd.c_str ());
70+ ( void ) system (browser_cmd.c_str ());
7171#else
7272 // NOTE: Linux/X11 only.
7373 string_t browser_cmd (U (" xdg-open \" " ) + auth_uri + U (" \" " ));
74- system (browser_cmd.c_str ());
74+ ( void ) system (browser_cmd.c_str ());
7575#endif
7676}
7777
@@ -321,3 +321,4 @@ int main(int argc, char *argv[])
321321 ucout << " Done." << std::endl;
322322 return 0 ;
323323}
324+
You can’t perform that action at this time.
0 commit comments