Project

General

Profile

Actions

Bug #12156

closed

libsasl: 'prev' may be used uninitialized in this function

Added by Toomas Soome almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors with gcc 9:

    ../lib/common.c: In function '_is_sun_reg':
    ../lib/common.c:1317:15: error: 'prev' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     1317 |    prev->next = r->next;
          |    ~~~~~~~~~~~^~~~~~~~~
    cc1: all warnings being treated as errors

Testing done: build/install/boot.

Actions

Also available in: Atom PDF