mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 17:18:24 +00:00
cleanup: fix building warnings
This commit is contained in:
@@ -626,7 +626,7 @@ RTM_EXPORT(clock_gettime);
|
||||
int clock_nanosleep(clockid_t clockid, int flags, const struct timespec *rqtp, struct timespec *rmtp)
|
||||
{
|
||||
struct timespec ts = {0};
|
||||
rt_err_t err;
|
||||
rt_err_t err = -RT_EINVAL;
|
||||
|
||||
if (rqtp == RT_NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user