[all-commits] [llvm/llvm-project] 1189e8: [CodeGen] Fix a warning

Kazu Hirata via All-commits all-commits at lists.llvm.org
Wed Apr 3 09:56:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1189e87951e59a81ee097eae847c06008276fef1
      https://github.com/llvm/llvm-project/commit/1189e87951e59a81ee097eae847c06008276fef1
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-04-03 (Wed, 03 Apr 2024)

  Changed paths:
    M clang/lib/CodeGen/CGExpr.cpp

  Log Message:
  -----------
  [CodeGen] Fix a warning

This patch fixes:

  clang/lib/CodeGen/CGExpr.cpp:5607:11: error: variable 'Result' is
  used uninitialized whenever 'if' condition is false
  [-Werror,-Wsometimes-uninitialized]



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list