https://bugs.winehq.org/show_bug.cgi?id=37126
Bug ID: 37126 Summary: PVS-Studio Error: Printing the result of identical functions Product: Wine Version: 1.7.22 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: lukebenes@hotmail.com
PVS-Studio identifies Printing the result of identical functions Error,V681. The language standard does not define an order in which the 'tlb_read_byte' functions will be called during evaluation of arguments. tlb.c 650
... printf("\%2.2x \%2.2x\n", tlb_read_byte(), tlb_read_byte()); ...
According to the C++ language standard, the sequence of computing a function's actual arguments is not defined. Which function will be called first depends on the compiler, compilation parameters, etc.
details on the V681 error here: http://www.viva64.com/en/d/0315/