Commit 5e24569
Dan Carpenter
struct_assignment: remove bogus deref_expression()
Originally this handled both "ptr = ptr" and "struct = struct", but now
it converts "ptr = ptr" to struct = struct. The is_pointer() check was
left over from the old code and can be deleted.
I noticed this bug during review. It's possible the bug fix has some small
effect on run time.
Signed-off-by: Dan Carpenter <[email protected]>1 parent 1dfa329 commit 5e24569
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 107 | | |
111 | 108 | | |
112 | 109 | | |
| |||
0 commit comments