"Tim Peters" <tim.one at comcast.net> writes: > list_ass_slice() currently looks like: > > ... > int n; /* Size of replacement list */ > int d; /* Change in size */ > int k; /* Loop index */ > #define b ((PyListObject *)v) > if (v == NULL) > n = 0; > else { > char msg[256]; > if (a == b) { > /* Special case "a[i:j] = a" -- copy b first */ > int ret; > v = list_slice(b, 0, n); > > MSVC complains that n can be used before initialization in the last line. > Looks like a fair complaint to me! SF ViewCVS doesn't show this code, so it > must be very new. My fault. Will fix momentarily. Cheers, mwh -- NUTRIMAT: That drink was individually tailored to meet your personal requirements for nutrition and pleasure. ARTHUR: Ah. So I'm a masochist on a diet am I? -- The Hitch-Hikers Guide to the Galaxy, Episode 9
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4