We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7606d26 commit e47e4adCopy full SHA for e47e4ad
src/frontc/cabs2cil.ml
@@ -615,11 +615,7 @@ let alphaConvertVarAndAddToEnv (addtoenv: bool) (vi: varinfo) : varinfo =
615
* a struct we must recursively strip the "const" from fields and array
616
* elements. *)
617
let rec stripConstLocalType (t: typ) : typ =
618
- let dc a =
619
- if hasAttribute "pconst" a then
620
- dropAttribute "pconst" a
621
- else a
622
- in
+ let dc = dropAttribute "pconst" in
623
match t with
624
| TPtr (bt, a) ->
625
(* We want to be able to detect by pointer equality if the type has
0 commit comments