Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static DEVICE_START( deco16ic )
- {
- ...
- if (intf->split)
- deco16ic->pf2_tilemap_16x16 =
- tilemap_create_device(device, get_pf2_tile_info,
- deco16_scan_rows, 16, 16, fullwidth ?
- 64 : 32, fullheight ? 64 : 32);
- else
- deco16ic->pf2_tilemap_16x16 =
- tilemap_create_device(device, get_pf2_tile_info,
- deco16_scan_rows, 16, 16, fullwidth ?
- 64 : 32, fullheight ? 64 : 32);
- ...
- }
- This suspicious code was found in MAME project by PVS-Studio static code analyzer.
- Warning message is:
- V523 The 'then' statement is equivalent to the 'else' statement. deco16ic.c 943
- PVS-Studio is a static analyzer for detecting bugs in the source code of applications written in C, C++, C++11, C++/CX. Site: http://www.viva64.com/en/pvs-studio/
Advertisement
Add Comment
Please, Sign In to add comment