diff options
author | Vincent Mihalkovic <vmihalko@redhat.com> | 2022-05-13 18:04:52 +0200 |
---|---|---|
committer | Vincent Mihalkovic <vmihalko@redhat.com> | 2022-05-13 18:23:09 +0200 |
commit | 5be583d026ea87d120ec1c3056d334bbf079990d (patch) | |
tree | 5dfe0553002920e15952571c2060d7e9e6bd5932 | |
parent | 0eda3c370d4a2c7c080a8ea4a6560c0a8a06e9f3 (diff) | |
download | polkit-5be583d026ea87d120ec1c3056d334bbf079990d.tar.gz |
fixup! backend: Dedup some code for temporary auth subjects
See https://bugs.freedesktop.org/show_bug.cgi?id=23867
which turned up from `git annotate` here.
I was reading this code and noticed it was duplicated.
-rw-r--r-- | src/polkitbackend/polkitbackendinteractiveauthority.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/polkitbackend/polkitbackendinteractiveauthority.c b/src/polkitbackend/polkitbackendinteractiveauthority.c index 976d3d5..d935a7a 100644 --- a/src/polkitbackend/polkitbackendinteractiveauthority.c +++ b/src/polkitbackend/polkitbackendinteractiveauthority.c @@ -3068,7 +3068,9 @@ convert_temporary_authorization_subject (PolkitSubject *subject) return g_object_ref (subject); } else - return ret; + { + return ret; + } } else { |