!36 [sync] PR-34: dblib: Address compiler warning
From: @openeuler-sync-bot Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
bcfac82a12
27
dblib-Address-compiler-warning.patch
Normal file
27
dblib-Address-compiler-warning.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From 395e3db9f505322918999081981a212dc51c5cfc Mon Sep 17 00:00:00 2001
|
||||
From: "Aaron M. Ucko" <ucko@ncbi.nlm.nih.gov>
|
||||
Date: Tue, 23 Oct 2018 11:05:20 -0400
|
||||
Subject: [PATCH] dblib: Address compiler warning
|
||||
|
||||
Remove unused constant.
|
||||
|
||||
Co-Authored-By: Pavel Ivanov <ivanovp@ncbi.nlm.nih.gov>
|
||||
---
|
||||
src/dblib/dblib.c | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/src/dblib/dblib.c b/src/dblib/dblib.c
|
||||
index 9b533487..00aba09f 100644
|
||||
--- a/src/dblib/dblib.c
|
||||
+++ b/src/dblib/dblib.c
|
||||
@@ -423,7 +423,6 @@ static const DBREAL null_REAL = 0;
|
||||
|
||||
static const DBCHAR null_CHAR = '\0';
|
||||
static const DBVARYCHAR null_VARYCHAR = { 0, {0} };
|
||||
-static const DBBINARY null_BINARY = 0;
|
||||
|
||||
static const DBDATETIME null_DATETIME = { 0, 0 };
|
||||
static const DBDATETIME4 null_SMALLDATETIME = { 0, 0 };
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
Name: freetds
|
||||
Summary: Implementation of the TDS (Tabular DataStream) protocol
|
||||
Version: 1.00.38
|
||||
Release: 10
|
||||
Release: 11
|
||||
License: LGPLv2+ and GPLv2+
|
||||
URL: http://www.freetds.org/
|
||||
|
||||
@ -10,6 +10,7 @@ Source1: freetds-tds_sysdep_public.h
|
||||
Patch0: CVE-2019-13508.patch
|
||||
Patch1: ctlib-Fix-cs_will_convert.patch
|
||||
Patch2: Fix-some-collation-encoding-detection.patch
|
||||
Patch3: dblib-Address-compiler-warning.patch
|
||||
|
||||
BuildRequires: unixODBC-devel readline-devel gnutls-devel krb5-devel
|
||||
BuildRequires: libgcrypt-devel libtool doxygen docbook-style-dsssl
|
||||
@ -122,6 +123,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Dec 29 2023 fandehui <fandehui@xfusion.com> - 1.00.38-11
|
||||
- dblib: Address compiler warning
|
||||
|
||||
* Thu Dec 28 2023 fandehui <fandehui@xfusion.com> - 1.00.38-10
|
||||
- Fix some collation encoding detection
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user