Ticket #188 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Warning in persistent.c

Reported by: gunnar Owned by: djhbrown
Priority: normal Milestone: 3.7.11
Component: source Version:
Severity: normal Keywords:
Cc: patch: yes

Description

gcc 4.2 gives a warning that gcc 4.1 didn't:

persistent.c: In function 'search_persistent_cache':
persistent.c:444: warning: comparison with string literal results in unspecified behaviour

This is hard to disagree with.

Attachments

warning_7_11.1.diff Download (497 bytes) - added by gunnar 4 years ago.
Trivial fix.

Regression Results

Attachment Rev. PASS FAIL Nodes Status
warning_7_11.1.diff Download 2386 0% 0% 0% builds with warning(s) details

Change History

Changed 4 years ago by gunnar

Trivial fix.

comment:1 Changed 4 years ago by gunnar

  • Status changed from new to closed
  • Resolution set to fixed

No effect on regressions.

comment:2 Changed 4 years ago by gunnar

  • Component changed from article to source
Note: See TracTickets for help on using tickets.