mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Cleanup and fix == error.
This commit is contained in:
parent
e997af227c
commit
6d9bd79ccb
2 changed files with 1 additions and 2 deletions
|
@ -319,7 +319,7 @@ static int http_result_code_from_session() {
|
|||
static void set_errno_from_session() {
|
||||
int err = http_result_code_from_session();
|
||||
|
||||
if( err = EIO ) {
|
||||
if( err == EIO ) {
|
||||
errno = EIO;
|
||||
} else {
|
||||
set_errno_from_http_errcode(err);
|
||||
|
|
|
@ -1102,7 +1102,6 @@ static int _csync_correct_id(CSYNC *ctx) {
|
|||
c_list_t *seen_dirs = NULL;
|
||||
c_list_t *list = NULL;
|
||||
c_rbtree_t *tree = NULL;
|
||||
const char *replica = NULL;
|
||||
char *path = NULL;
|
||||
|
||||
if (ctx->current != REMOTE_REPLICA) {
|
||||
|
|
Loading…
Reference in a new issue