update to 0.9.1

This commit is contained in:
Miroslav Lichvar 2023-07-10 12:43:49 +02:00
parent 880c4784e2
commit d06841e50b
4 changed files with 3 additions and 37 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/synce4l-0.9.0.tar.gz /synce4l-0.9.1.tar.gz

View File

@ -1 +1 @@
SHA512 (synce4l-0.9.0.tar.gz) = 24e48502576c3f3fe96b87320519436942084d0a3da0f0bf22681fa9bc8ad0b45248786ac62d02747891babf6e9b269666549f6c9de1b272f32dedcd3a0de15f SHA512 (synce4l-0.9.1.tar.gz) = c423589425c4a43542a1e0e64849120be42535a99c75b5f783fe1ab94cca384659c36c911a88c2eb9379a2123d4689759c4ba49b068a9d186c295e120e2cb826

View File

@ -1,31 +0,0 @@
commit 40375f3babd5a52e0e9d5f2abe4a9332505e702d
Author: Miroslav Lichvar <mlichvar@redhat.com>
Date: Mon Jun 19 11:57:18 2023 +0200
Avoid -Wmaybe-uninitialized warning
This avoids the following false positive from gcc:
config.c:352:28: error: 'df' may be used uninitialized [-Werror=maybe-uninitialized]
352 | dst->val.d = df;
| ^
config.c: In function 'config_read':
config.c:286:16: note: 'df' was declared here
286 | double df;
| ^
Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
diff --git a/config.c b/config.c
index 946e508..26f3c82 100644
--- a/config.c
+++ b/config.c
@@ -283,7 +283,7 @@ static enum parser_result parse_item(struct config *cfg,
enum parser_result r;
struct config_item *cgi, *dst;
struct config_enum *cte;
- double df;
+ double df = 0.0;
int val;
r = parse_fault_interval(cfg, section, option, value);

View File

@ -1,5 +1,5 @@
Name: synce4l Name: synce4l
Version: 0.9.0 Version: 0.9.1
Release: 1%{?dist} Release: 1%{?dist}
Summary: SyncE implementation for Linux Summary: SyncE implementation for Linux
@ -8,7 +8,6 @@ URL: https://github.com/intel/synce4l
Source0: https://github.com/intel/synce4l/archive/%{version}/synce4l-%{version}.tar.gz Source0: https://github.com/intel/synce4l/archive/%{version}/synce4l-%{version}.tar.gz
Source1: synce4l.service Source1: synce4l.service
Source2: synce4l.conf Source2: synce4l.conf
Patch1: synce4l-gcc-warn.patch
BuildRequires: gcc make systemd BuildRequires: gcc make systemd
@ -23,8 +22,6 @@ supported hardware by processing Ethernet Synchronization Messaging Channel
%prep %prep
%autosetup %autosetup
# Fix building outside of git repository
sed -i 's|\(^VERSION := \).*|\1%{version}|' Makefile
%build %build
%{make_build} \ %{make_build} \