mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Do not initialize a local variable soon to be assigned.
This commit is contained in:
@@ -84,7 +84,7 @@ dirname(mrb_state *mrb, const char *path)
|
||||
static source_file*
|
||||
source_file_new(mrb_state *mrb, mrb_debug_context *dbg, char *filename)
|
||||
{
|
||||
source_file *file = NULL;
|
||||
source_file *file;
|
||||
|
||||
file = (source_file*)mrb_malloc(mrb, sizeof(source_file));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user