Project

General

Profile

Bug #12403

srn: variable may be used uninitialized

Added by Toomas Soome 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Build error with gcc 9:

    ../../common/io/srn.c: In function 'srn_notify':
    ../../common/io/srn.c:559:9: error: 'count' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      559 |    count--;
          |    ~~~~~^~
    cc1: all warnings being treated as errors

Also available in: Atom PDF