[libc-commits] [libc] 1b1a97e - Remove unused variable

Alex Brachet via libc-commits libc-commits at lists.llvm.org
Fri Feb 21 17:48:47 PST 2020


Author: Alex Brachet
Date: 2020-02-21T20:48:07-05:00
New Revision: 1b1a97e9b55754302c4b41f6bddc8fbc3870f68a

URL: https://github.com/llvm/llvm-project/commit/1b1a97e9b55754302c4b41f6bddc8fbc3870f68a
DIFF: https://github.com/llvm/llvm-project/commit/1b1a97e9b55754302c4b41f6bddc8fbc3870f68a.diff

LOG: Remove unused variable

Added: 
    

Modified: 
    libc/src/signal/linux/raise.cpp

Removed: 
    


################################################################################
diff  --git a/libc/src/signal/linux/raise.cpp b/libc/src/signal/linux/raise.cpp
index 1f58636697ee..ad79bd282300 100644
--- a/libc/src/signal/linux/raise.cpp
+++ b/libc/src/signal/linux/raise.cpp
@@ -15,7 +15,7 @@ namespace __llvm_libc {
 
 int LLVM_LIBC_ENTRYPOINT(raise)(int sig) {
   __llvm_libc::Sigset sigset;
-  int got = __llvm_libc::block_all_signals(sigset);
+  __llvm_libc::block_all_signals(sigset);
   long pid = __llvm_libc::syscall(SYS_getpid);
   long tid = __llvm_libc::syscall(SYS_gettid);
   int ret = __llvm_libc::syscall(SYS_tgkill, pid, tid, sig);


        


More information about the libc-commits mailing list