Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- code *cdcond(elem *e,regm_t *pretregs)
- {
- code *cc,*c,*c1,*cnop1,*c2,*cnop2;
- ....
- c2 = codelem(e22,&retregs,FALSE);
- c2 = cat(c1, fixresult(e22,retregs,pretregs));
- ....
- }
- Most likely this is what should be written here: c2 = cat(c2, ....);
- This suspicious code was found in dmd-project project by PVS-Studio static code analyzer.
- Warning message is:
- V519 The 'c2' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1860, 1861. cod2.c 1861
- 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
Advertisement