]> sourceware.org Git - valgrind.git/commit
syswrap-linux.c (sys_execveat): Define path as const HChar *
authorMark Wielaard <mark@klomp.org>
Thu, 9 Jun 2022 21:06:36 +0000 (23:06 +0200)
committerMark Wielaard <mark@klomp.org>
Thu, 9 Jun 2022 21:10:30 +0000 (23:10 +0200)
commit3aee8a29447ea14108eb5d4ab3c1f7677767296a
treecd77609ab6db77622d3d88662e7ed32444e95f73
parent438d5e956dfa989184fcd4c18d7db534f65b75b6
syswrap-linux.c (sys_execveat): Define path as const HChar *

Like buf, path (ARG2) is a const HChar *
Prevents a gcc warning: assignment discards 'const' qualifier from
                        pointer target type [-Wdiscarded-qualifiers]
13328 |                        path = buf;
      |                             ^
coregrind/m_syswrap/syswrap-linux.c
This page took 2.000467 seconds and 5 git commands to generate.