diff options
author | Max Kellermann <max@duempel.org> | 2008-01-26 12:46:30 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-01-26 12:46:30 +0000 |
commit | 0659d359513107e3ed4b66a471f3cb3939a09521 (patch) | |
tree | 96bd7379db0604e1aa5474916567b6e1d2a63c80 /src/tree.c | |
parent | 07eaad301af56995f5c6a541c06ef9483d9fa9ec (diff) | |
download | mpd-0659d359513107e3ed4b66a471f3cb3939a09521.tar.gz mpd-0659d359513107e3ed4b66a471f3cb3939a09521.tar.xz mpd-0659d359513107e3ed4b66a471f3cb3939a09521.zip |
fix -Waggregate-return
Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn-id: https://svn.musicpd.org/mpd/trunk@7145 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/tree.c')
-rw-r--r-- | src/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tree.c b/src/tree.c index 26b58845c..4b212cca6 100644 --- a/src/tree.c +++ b/src/tree.c @@ -630,13 +630,13 @@ void IncrementTreeIterator(TreeIterator * iter) } } -TreeKeyData +const TreeKeyData * GetTreeKeyData(TreeIterator * iter) { assert(iter->node && iter->which > 0 && iter->which <= iter->node->count); - return iter->node->keyData[iter->which-1]; + return &iter->node->keyData[iter->which-1]; } int |