Opened 7 years ago

Closed 7 years ago

#3817 closed defect (fixed)

‘last_old_id’ may be used uninitialized

Reported by: strk Owned by: pramsey
Priority: blocker Milestone: PostGIS 2.4.0
Component: postgis Version: master
Keywords: Cc:

Description

This warning should be fixed before final release:

lwunionfind.c: In function ‘UF_get_collapsed_cluster_ids’:
lwunionfind.c:165:7: warning: ‘last_old_id’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    if (current_old_id != last_old_id)
       ^

Change History (1)

comment:1 by robe, 7 years ago

Resolution: fixed
Status: newclosed

In 15583:

Fix uninitialized last_old_id
Closes #3817

Note: See TracTickets for help on using tickets.