[all-commits] [llvm/llvm-project] 824b16: [libc][NFC] Fix missing field 'tm_isdst' initializ...

Mikhail R. Gadelha via All-commits all-commits at lists.llvm.org
Mon Oct 2 16:33:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 824b1677a44e25b7c9808c774ba2d894ff14df2b
      https://github.com/llvm/llvm-project/commit/824b1677a44e25b7c9808c774ba2d894ff14df2b
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2023-10-02 (Mon, 02 Oct 2023)

  Changed paths:
    M libc/test/src/time/TmHelper.h
    M libc/test/src/time/mktime_test.cpp

  Log Message:
  -----------
  [libc][NFC] Fix missing field 'tm_isdst' initializer warning (#67837)

This patch fixes several warnings thrown by clang about an uninitialized
member of struct tm, tm_isdst.

Weirdly, gcc doesn't complain about it, probably this member is never
read in the tests.




More information about the All-commits mailing list