Skip to content

Commit af13be9

Browse files
r-barnesfacebook-github-bot
authored andcommitted
C10_UNUSED to [[maybe_unused]] (#6357)
Summary: X-link: pytorch/pytorch#138364 Pull Request resolved: #6357 Reviewed By: dmm-fb Differential Revision: D64613643 fbshipit-source-id: 8c0608376e5b21d9d3291bef6ae75e7d826d86bb
1 parent bb1ad31 commit af13be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/vulkan/runtime/utils/MacroUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#pragma once
1010

11-
// Suppress an unused variable. Copied from C10_UNUSED
11+
// Suppress an unused variable. Copied from [[maybe_unused]]
1212
#if defined(_MSC_VER) && !defined(__clang__)
1313
#define VK_UNUSED __pragma(warning(suppress : 4100 4101))
1414
#else

0 commit comments

Comments
 (0)