Em Mon, Sep 22, 2008 at 09:21:54AM +0200, Gerrit Renker escreveu:
[acme@doppio ~]$ cat dd.c
#include
int main(void)
{
int idx = -2;
printf("%d\n", idx < 0 ? : 10);
printf("%d\n", idx < 0 ? idx : 10);
return 0;
}
[acme@doppio ~]$ ./dd
1
-2
[acme@doppio ~]$
Which one do you want? The boolean result as the value to be returned or
the index if it is < 0?
I tried to check on the other 4 patches on this series to check if usage
clarified if it was correct, but there is no use of
dccp_feat_default_value() on this 5 patches, perhaps it could be
deferred to when it actually gets used?
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
| Zach Brown | [PATCH 3 of 4] Teach paths to wake a specific void * target instead of a whole tas... |
| Linus Torvalds | Re: LSM conversion to static interface |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Andrew Morton | -mm merge plans for 2.6.23 |
git: | |
| Gregory Haskins | [RFC PATCH 00/17] virtual-bus |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
