Fix compiler warnings.
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Tue, 3 Jan 2012 16:08:01 +0000 (17:08 +0100)
committerMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Tue, 3 Jan 2012 16:08:01 +0000 (17:08 +0100)
commit0dce26778ef8abd4fc40de689d7ec9b720d26430
treed0431d510183fac4fe72a7908a8ac6c3f01e3f43
parent61ccd8d92d9d3b8ba0eca3c2969d7f6f37e16405
Fix compiler warnings.

* common/dotlock.c (use_hardlinks_p, dotlock_take_unix): Check return
value of link().
* g13/g13.c: Make sure err is initialized.
* scd/scdaemon.c (main) [!USE_GCRY_THREAD_CBS]: Do not define ERR.
common/dotlock.c
g13/g13.c
scd/scdaemon.c