Mercury Bugs - mercury
View Issue Details
0000518mercuryBugpublic2020-09-17 00:072020-09-17 07:18
Reporterkeri 
Assigned Tozs 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000518: Typo in extras/odbc.m
DescriptionWhen compiling extras/odbc.m a function symbol (stat) is being used instead of a variable (Statement) leading to the following warning:

odbc.m: In function 'odbc_module16':
odbc.m:1349:5: warning: the comparison will always evaluate as 'true for the address of 'stat' will never be NULL [-Waddress]
Additional InformationAttached is a diff to resolve this.
TagsNo tags attached.
Attached Filespatch mercury-extras-odbc.patch (455) 2020-09-17 00:07
https://bugs.mercurylang.org/file_download.php?file_id=306&type=bug

Notes
(0001103)
zs   
2020-09-17 07:18   
The supplied patch has been committed. Thank you.

Issue History
2020-09-17 00:07keriNew Issue
2020-09-17 00:07keriFile Added: mercury-extras-odbc.patch
2020-09-17 07:18zsAssigned To => zs
2020-09-17 07:18zsStatusnew => resolved
2020-09-17 07:18zsResolutionopen => fixed
2020-09-17 07:18zsNote Added: 0001103