Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Lachu:SystemServices
PackageKit
n-0075-Nix-remove-g_assert_not_reached.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File n-0075-Nix-remove-g_assert_not_reached.patch of Package PackageKit
From 9c2ef9cddf39ebde587907561f8e7ac99ed6be1a Mon Sep 17 00:00:00 2001 From: Matthew Bauer <mjbauer95@gmail.com> Date: Tue, 8 Feb 2022 18:40:59 -0600 Subject: [PATCH 075/102] Nix: remove g_assert_not_reached MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don’t need to crash when we don’t recognize it. Other backends just keep going on this. diff --git a/backends/nix/pk-backend-nix.cc b/backends/nix/pk-backend-nix.cc index 265277cae..83430d132 100644 --- a/backends/nix/pk-backend-nix.cc +++ b/backends/nix/pk-backend-nix.cc @@ -241,7 +241,6 @@ nix_search_thread (PkBackendJob* job, GVariant* params, gpointer p) g_variant_get (params, "(t^a&s)", &filters, &search); break; default: - g_assert_not_reached (); break; } -- 2.35.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor