• Tom Lane's avatar
    Suppress a couple of compiler warnings seen with older gcc versions. · 5f1ab461
    Tom Lane authored
    To wit,
    bgworker.c: In function `RegisterDynamicBackgroundWorker':
    bgworker.c:761: warning: `generation' might be used uninitialized in this function
    dsm_impl.c: In function `dsm_impl_op':
    dsm_impl.c:197: warning: control reaches end of non-void function
    
    Neither of these represent actual bugs, but we may as well tweak the code
    so that more compilers can tell that.  This won't change the generated code
    on compilers that do recognize that the cases are unreachable.
    5f1ab461
bgworker.c 26.4 KB