Project

General

Profile

Actions

Bug #8827

closed

libldap5: variable set but not used

Added by Toomas Soome about 5 years ago. Updated about 5 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Debug build error from gcc 6:

    ../sources/ldap/common/tmplout.c: In function 'do_entry2text_search':
    ../sources/ldap/common/tmplout.c:451:25: error: variable 'html' set but not used [-Werror=unused-but-set-variable]
         int    err, freedn, html;
                             ^~~~
    ../sources/ldap/common/tmplout.c: In function 'searchaction':
    ../sources/ldap/common/tmplout.c:1042:41: error: variable 'selectname' set but not used [-Werror=unused-but-set-variable]
         char  *value, *filtpattern, *attr, *selectname;
                                             ^~~~~~~~~~
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF