diff for duplicates of <20100602204147.GO5483@bicker> diff --git a/a/1.txt b/N1/1.txt index a49c153..7370fa5 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -21,7 +21,7 @@ index 8896c3a..afbbe68 100644 + struct symbol *ret; + + ret = get_base_type(sym); -+ if (ret->type = SYM_RESTRICT) ++ if (ret->type == SYM_RESTRICT) + return get_real_base_type(ret); + return ret; +} @@ -39,11 +39,11 @@ index 8896c3a..afbbe68 100644 @@ -38,10 +48,10 @@ static struct symbol *get_symbol_from_deref(struct expression *expr) return NULL; } - if (struct_sym->type = SYM_PTR) + if (struct_sym->type == SYM_PTR) - struct_sym = get_base_type(struct_sym); + struct_sym = get_real_base_type(struct_sym); FOR_EACH_PTR(struct_sym->symbol_list, tmp) { - if (tmp->ident = member) + if (tmp->ident == member) - return get_base_type(tmp); + return get_real_base_type(tmp); } END_FOR_EACH_PTR(tmp); diff --git a/a/content_digest b/N1/content_digest index 23f2205..2cc174a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\0adahblls0kx.fsf@roland-alpha.cisco.com\0" "From\0Dan Carpenter <error27@gmail.com>\0" "Subject\0Re: [announce] smatch 1.54\0" - "Date\0Wed, 02 Jun 2010 20:41:47 +0000\0" + "Date\0Wed, 2 Jun 2010 22:41:47 +0200\0" "To\0Roland Dreier <rdreier@cisco.com>\0" "Cc\0linux-kernel@vger.kernel.org" " kernel-janitors@vger.kernel.org\0" @@ -31,7 +31,7 @@ "+\tstruct symbol *ret;\n" "+\n" "+\tret = get_base_type(sym);\n" - "+\tif (ret->type = SYM_RESTRICT)\n" + "+\tif (ret->type == SYM_RESTRICT)\n" "+\t\treturn get_real_base_type(ret);\n" "+\treturn ret;\n" "+}\n" @@ -49,11 +49,11 @@ "@@ -38,10 +48,10 @@ static struct symbol *get_symbol_from_deref(struct expression *expr)\n" " \t\treturn NULL;\n" " \t}\n" - " \tif (struct_sym->type = SYM_PTR)\n" + " \tif (struct_sym->type == SYM_PTR)\n" "-\t\tstruct_sym = get_base_type(struct_sym);\n" "+\t\tstruct_sym = get_real_base_type(struct_sym);\n" " \tFOR_EACH_PTR(struct_sym->symbol_list, tmp) {\n" - " \t\tif (tmp->ident = member)\n" + " \t\tif (tmp->ident == member)\n" "-\t\t\treturn get_base_type(tmp);\n" "+\t\t\treturn get_real_base_type(tmp);\n" " \t} END_FOR_EACH_PTR(tmp);\n" @@ -95,4 +95,4 @@ " \t\treturn get_return_type(expr);\n" " \tdefault:" -5a0d63cbec2656ce92d1b585cb95d114bd2322a9ce3adbd783712a574a51a4fb +0aa07906cf5b6cd660b60cb9fea83c3efb2f9790a4df31bd8b69690a54613412
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.