diff options
| author | Ryunosuke SATO <[email protected]> | 2012-12-10 17:59:37 +0900 |
|---|---|---|
| committer | Ryunosuke SATO <[email protected]> | 2012-12-10 17:59:41 +0900 |
| commit | 85dac05cf37f321c1cc1f04ef4f1e37812d53477 (patch) | |
| tree | 3cf0a112a58e87bd1936281229a123e0f2efb47e /src | |
| parent | 1b716b93c68e67b4341c071fee3cc2c470a23763 (diff) | |
| download | mruby-85dac05cf37f321c1cc1f04ef4f1e37812d53477.tar.gz mruby-85dac05cf37f321c1cc1f04ef4f1e37812d53477.zip | |
Stop warning in compiling proc.c
proc.c:46: warning: ‘return’ with a value, in function returning void
introduced in f312af11.
Diffstat (limited to 'src')
| -rw-r--r-- | src/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proc.c b/src/proc.c index c40d0382f..08670e253 100644 --- a/src/proc.c +++ b/src/proc.c @@ -43,7 +43,7 @@ closure_setup(mrb_state *mrb, struct RProc *p, int nlocals) e = mrb->ci->env; } p->env = e; - return p; + return; } struct RProc * |
