Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #33 from yebblies/fix5399
Browse files Browse the repository at this point in the history
Make return of non-void from void function explicit.
  • Loading branch information
andralex committed Jun 29, 2011
2 parents 7610faf + 9a8af03 commit ac0e4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gc/gc.d
Expand Up @@ -152,7 +152,7 @@ extern (C) void gc_disable()
extern (C) void gc_collect()
{
if( proxy is null )
return _gc.fullCollect();
return cast(void)_gc.fullCollect();
return proxy.gc_collect();
}

Expand Down

0 comments on commit ac0e4a8

Please sign in to comment.