This MR removes the warnings warning: variable xxx is used under old but is not modified by the function thanks to the attribute "W:unmodified_variable:N".
@marche@x-RRieuH Is it fine for you? Do you think that it's needed to also add a debug flag as it is done for W:unused_variable:N?