[Vm-dev] suspect assignment in sqMacUIClipBoard.c line 91

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Thu Aug 30 22:01:37 UTC 2012

intention of this line
			return (err = 0);
might well be
			return (err == 0);

A clue, previously assigned value is not used
    err = PasteboardPutItemFlavor (pb, (PasteboardItemID)1,
kUTTypeUTF16PlainText, data, 0);

These are useful Xcode warnings that we should not ignore.


More information about the Vm-dev mailing list