• Laurent Aimar's avatar
    Revert "Remove useless assignation" · 0b6f7750
    Laurent Aimar authored
    This reverts commit 33835542.
    It segfaults as p_next is now uninitialized.
    
    ==25869== Conditional jump or move depends on uninitialised value(s)
    ==25869==    at 0x5078332: GetNextItem (tree.c:441)
    ==25869==    by 0x5078D7A: playlist_GetNextLeaf (tree.c:362)
    ==25869==    by 0x5071CFE: ResetCurrentlyPlaying (thread.c:197)
    ==25869==    by 0x5072952: Thread (thread.c:596)
    ==25869==    by 0x577AFC6: start_thread (in /lib/libpthread-2.7.so)
    ==25869==    by 0x5EE65AC: clone (in /lib/libc-2.7.so)
    0b6f7750
thread.c 18.9 KB