win: Don't use precision with %wZ, it's ignored.
Found by clang, which says: ..\..\sandbox\win\sandbox_poc\pocdll\handles.cc(156,34) : warning(clang): precision used with 'Z' conversion specifier, resulting in undefined behavior [-Wformat] "Type: %-13.13wZ Path: %wZ\r\n", ~~~~^~~~~ "undefined behavior" is a bit too strong language for a vendor-defined type, but http://msdn.microsoft.com/en-us/library/0ecbz014.aspx doesn't document what precision does for %Z, and in practice it seems to be ignored (see http://llvm.org/PR20876). So don't use it. No intended behavior change. BUG=82385 R=scottmg@chromium.org TBR=cpu Review URL: https://codereview.chromium.org/552663004 Cr-Commit-Position: refs/heads/master@{#293757}
Showing
Please register or sign in to comment