Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
158e1e6f
Commit
158e1e6f
authored
Jul 09, 2012
by
Yukihiro Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
should remove memset initialization; update
7496625f
parent
7496625f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/time.c
src/time.c
+0
-1
No files found.
src/time.c
View file @
158e1e6f
...
@@ -241,7 +241,6 @@ time_mktime(mrb_state *mrb, mrb_int ayear, mrb_int amonth, mrb_int aday,
...
@@ -241,7 +241,6 @@ time_mktime(mrb_state *mrb, mrb_int ayear, mrb_int amonth, mrb_int aday,
time_t
nowsecs
;
time_t
nowsecs
;
struct
tm
nowtime
=
{
0
};
struct
tm
nowtime
=
{
0
};
memset
(
&
nowtime
,
0
,
sizeof
(
struct
tm
));
nowtime
.
tm_year
=
(
int
)
ayear
-
1900
;
nowtime
.
tm_year
=
(
int
)
ayear
-
1900
;
nowtime
.
tm_mon
=
(
int
)
amonth
-
1
;
nowtime
.
tm_mon
=
(
int
)
amonth
-
1
;
nowtime
.
tm_mday
=
(
int
)
aday
;
nowtime
.
tm_mday
=
(
int
)
aday
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment