Skip to content

Commit

Permalink
Return NULL in non-void call in the stub implementation of threading
Browse files Browse the repository at this point in the history
  • Loading branch information
saprykin committed Mar 17, 2024
1 parent 13447ff commit 5c57d0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/puthread-none.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* The MIT License
*
* Copyright (C) 2010-2023 Alexander Saprykin <saprykin.spb@gmail.com>
* Copyright (C) 2010-2024 Alexander Saprykin <saprykin.spb@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
Expand Down Expand Up @@ -128,6 +128,7 @@ P_LIB_API ppointer
p_uthread_get_local (PUThreadKey *key)
{
P_UNUSED (key);
return NULL;
}

P_LIB_API void
Expand Down

0 comments on commit 5c57d0a

Please sign in to comment.