Module Name: src Committed By: mrg Date: Thu Aug 3 08:04:07 UTC 2023
Modified Files: src/external/cddl/osnet/dist/uts/common/dtrace: dtrace.c Log Message: fix uninitialised variable usage. found by GCC 12. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 \ src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c diff -u src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c:1.41 src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c:1.42 --- src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c:1.41 Tue Nov 17 03:20:33 2020 +++ src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c Thu Aug 3 08:04:07 2023 @@ -7577,7 +7577,7 @@ dtrace_probe(dtrace_id_t id, uintptr_t a } now = mstate.dtms_timestamp = dtrace_gethrtime(); - mstate.dtms_present |= DTRACE_MSTATE_TIMESTAMP; + mstate.dtms_present = DTRACE_MSTATE_TIMESTAMP; vtime = dtrace_vtime_references != 0; if (vtime && curthread->t_dtrace_start)