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
| Greg Kroah-Hartman | [PATCH 008/196] Chinese: add translation of volatile-considered-harmful.txt |
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Linus Torvalds | Re: Slow DOWN, please!!! |
git: | |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
