Skip to content

util/fossilized_db: Prevent ‘err’ may be used uninitialized warnings

Amos Kong requested to merge amos/mesa:fix_util_fossilized_db_warning into main

timeout of lock_file_with_timeout() is in nanoseconds. The file won't be locked if the timeout is smaller than 1000000, so it's meaningful to set it to 0 (lock succeed) at the beginning.

Signed-off-by: Amos Kong amos@sietium.com

Merge request reports