mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #3574] [MERGED] annotate some functions as non-returning #4817
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#4817
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/3574
Author: @reinerh
Created: 8/8/2020
Status: ✅ Merged
Merged: 8/8/2020
Merged by: @reinerh
Base:
master← Head:noreturn📝 Commits (1)
04605a7annotate some functions as non-returning📊 Changes
11 files changed (+34 additions, -41 deletions)
View changed files
📝
src/firejail/arp.c(+1 -3)📝
src/firejail/firejail.h(+17 -18)📝
src/firejail/join.c(+1 -1)📝
src/firejail/main.c(+1 -2)📝
src/firejail/protocol.c(+1 -1)📝
src/firejail/sbox.c(+1 -1)📝
src/firejail/x11.c(+2 -2)📝
src/firemon/firemon.h(+3 -3)📝
src/firemon/procevent.c(+5 -8)📝
src/include/syscall.h(+1 -1)📝
src/lib/errno.c(+1 -1)📄 Description
I noticed some comments in the code like "// it will never get here", so I added some annotations to make this assumption also clear to the compiler.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.