usercore/ToolManager: remove unused variable in startDownload

also fixes clag static analyzer warning "Value stored to 'bIsDownloading' is never read"
ipc_pipe/IPCPipeBase: remove unused function "print_buffer"

also fixes clang static analyzer warning "This statement is never executed"