mirror of git://gcc.gnu.org/git/gcc.git
backport: libgo/runtime: return 0, not NULL, from main
Backport from mainline:
libgo/runtime: return 0, not NULL, from main
Reviewed-on: https://go-review.googlesource.com/13421
From-SVN: r228469
This commit is contained in:
parent
c4c06ac84f
commit
735f90cee7
|
|
@ -38,7 +38,7 @@ main (int argc, char **argv)
|
|||
runtime_isarchive = false;
|
||||
|
||||
if (runtime_isstarted)
|
||||
return NULL;
|
||||
return 0;
|
||||
runtime_isstarted = true;
|
||||
|
||||
runtime_check ();
|
||||
|
|
|
|||
Loading…
Reference in New Issue