Re: winspool: Remove dead code (Clang)
29 Nov
2015
29 Nov
'15
3:37 p.m.
- if(WINSPOOL_GetStringFromReg(hkeyPrinter, NameW, ptr, left, &size)) { - if(space && size <= left) { - pi4->pPrinterName = (LPWSTR)ptr; - ptr += size; - left -= size; - } else + if(WINSPOOL_GetStringFromReg(hkeyPrinter, NameW, buf, left, &size)) { + if(space && size <= left) + pi4->pPrinterName = (LPWSTR)buf; + else Could you indent this better? -Alex
3665
Age (days ago)
3665
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alex Henrie