Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
abc-interpreter
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
abc-interpreter
Commits
6c776c0b
Verified
Commit
6c776c0b
authored
May 16, 2019
by
Camil Staps
🚀
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary malloc in interpret()
parent
1b61fc9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/interpret.c
src/interpret.c
+3
-4
No files found.
src/interpret.c
View file @
6c776c0b
...
...
@@ -443,13 +443,12 @@ int interpret(
#endif
if
(
_pc
!=
NULL
)
{
BC_WORD
*
ret
=
safe_malloc
(
sizeof
(
BC_WORD
));
#ifdef COMPUTED_GOTOS
*
ret
=
(
BC_WORD
)
&&
eval_to_hnf_return
;
BC_WORD
ret
=
(
BC_WORD
)
&&
eval_to_hnf_return
;
#else
*
ret
=
EVAL_TO_HNF_LABEL
;
BC_WORD
ret
=
EVAL_TO_HNF_LABEL
;
#endif
*++
csp
=
(
BC_WORD
)
ret
;
*++
csp
=
(
BC_WORD
)
&
ret
;
pc
=
_pc
;
if
(
0
)
{
...
...
Camil Staps
🚀
@cstaps
mentioned in commit
cbac1b4e
·
May 16, 2019
mentioned in commit
cbac1b4e
mentioned in commit cbac1b4e8d38e37ceb94f66da72daed9390ae6dc
Toggle commit list
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