- Notifications
You must be signed in to change notification settings - Fork5
Commita414d96
committed
Simplify GetLockNameFromTagType.
The old code is wrong, because it returns a pointer to an automaticvariable. And it's also more clever than we really need to beconsidering that the case it's worrying about should never happen.1 parentc94f0c2 commita414d96
1 file changed
+3
-13
lines changedLines changed: 3 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1003 | 1003 |
| |
1004 | 1004 |
| |
1005 | 1005 |
| |
1006 |
| - | |
1007 |
| - | |
1008 |
| - | |
1009 |
| - | |
1010 |
| - | |
1011 |
| - | |
1012 |
| - | |
1013 |
| - | |
1014 |
| - | |
1015 |
| - | |
1016 |
| - | |
1017 |
| - | |
1018 |
| - | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
1019 | 1009 |
|
0 commit comments
Comments
(0)