Prevent uninitialized variable use

bug 403
Prevent possible zero divide

Not likely, but fixed problem reported by CLANG tool
bug 403
Prevent uninitialized variable use due to bad accounting file

bug 403
Prevent uninitialized variable use

bug 403
Prevent uninitialized variable use

buf 403
Prevent NULL pointer use

Should not be possible, but fixes CLANG bug report
bug 403
Prevent possible zero divide

Should not be possible, but this prevents CLANG error
bug 403
Prevent uninitialized variable

Reported by CLANG, but not possible in practice
bug 403
Prevent NULL pointer error from CLANG

Should not be possible, but prevent CLANG error
bug 403
Prevent uninitialized variables reported by CLANG

bug 403
Prevent possible uninitialized variable use

Fix problem reported by CLANG
bug 403
Prevent uninitialized variable use

As reported by CLANG
bug 403
Eliminate unitialized variables and unused return code

Change trigger_state_restore() return type from int to void.
This eliminates some CLANG errors
bug 403
Fix job trigger logic to correctly handle vanished job

Previously would reference NULL pointer
bug 403