Fix warnings

This commit is contained in:
simon987 2020-03-25 08:18:59 -04:00
parent 09615bbed6
commit fe53b79d56
2 changed files with 2 additions and 1 deletions

View File

@ -58,6 +58,7 @@ int extract_text(xmlDoc *xml, xmlNode *node, text_buffer_t *buf) {
extract_text(xml, child->children, buf);
}
return 0;
}
int xml_io_read(void *context, char *buffer, int len) {

View File

@ -304,7 +304,7 @@ static int incremental_get(GHashTable *table, unsigned long inode_no) {
__always_inline
static int incremental_mark_file_for_copy(GHashTable *table, unsigned long inode_no) {
g_hash_table_insert(table, GINT_TO_POINTER(inode_no), GINT_TO_POINTER(1));
return g_hash_table_insert(table, GINT_TO_POINTER(inode_no), GINT_TO_POINTER(1));
}