Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19sp
lab04
Commits
d1f2e931
Commit
d1f2e931
authored
6 years ago
by
Henry K. Sun
Browse files
Options
Download
Email Patches
Plain Diff
Remove errant num_refs increment
parent
ae69e7e4
master
No related merge requests found
Pipeline
#13085
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
subpython/alloc.c
+0
-1
subpython/alloc.c
with
0 additions
and
1 deletion
+0
-1
subpython/alloc.c
View file @
d1f2e931
...
@@ -202,7 +202,6 @@ Reference make_reference(Value *value) {
...
@@ -202,7 +202,6 @@ Reference make_reference(Value *value) {
ref
=
(
Reference
)
i
;
// Probably unnecessary, but clearer.
ref
=
(
Reference
)
i
;
// Probably unnecessary, but clearer.
ref_table
[
i
]
=
value
;
ref_table
[
i
]
=
value
;
value
->
ref
=
ref
;
value
->
ref
=
ref
;
num_refs
++
;
return
ref
;
return
ref
;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help