diff for duplicates of <20100819095004.GN645@bicker> diff --git a/a/1.txt b/N1/1.txt index 6d73da3..f5e19b8 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -15,16 +15,16 @@ index 1b992b8..55ea914 100644 } - if (maskptr) *maskptr = ~0; + *maskptr = ~0; - } else if (cptr->info->type = pvr2_ctl_bool) { + } else if (cptr->info->type == pvr2_ctl_bool) { ret = parse_token(ptr,len,valptr,boolNames, ARRAY_SIZE(boolNames)); @@ -522,7 +522,7 @@ int pvr2_ctrl_sym_to_value(struct pvr2_ctrl *cptr, - } else if (ret = 0) { + } else if (ret == 0) { *valptr = (*valptr & 1) ? !0 : 0; } - if (maskptr) *maskptr = 1; + *maskptr = 1; - } else if (cptr->info->type = pvr2_ctl_enum) { + } else if (cptr->info->type == pvr2_ctl_enum) { ret = parse_token( ptr,len,valptr, @@ -531,7 +531,7 @@ int pvr2_ctrl_sym_to_value(struct pvr2_ctrl *cptr, @@ -33,6 +33,6 @@ index 1b992b8..55ea914 100644 } - if (maskptr) *maskptr = ~0; + *maskptr = ~0; - } else if (cptr->info->type = pvr2_ctl_bitmask) { + } else if (cptr->info->type == pvr2_ctl_bitmask) { ret = parse_tlist( ptr,len,maskptr,valptr, diff --git a/a/content_digest b/N1/content_digest index 3ee2c82..720d2da 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <error27@gmail.com>\0" "Subject\0[patch] V4L/DVB: pvrusb2: remove unneeded NULL checks\0" - "Date\0Thu, 19 Aug 2010 09:50:04 +0000\0" + "Date\0Thu, 19 Aug 2010 11:50:04 +0200\0" "To\0Mike Isely <isely@pobox.com>\0" "Cc\0Mauro Carvalho Chehab <mchehab@infradead.org>" linux-media@vger.kernel.org @@ -24,16 +24,16 @@ " \t\t\t}\n" "-\t\t\tif (maskptr) *maskptr = ~0;\n" "+\t\t\t*maskptr = ~0;\n" - " \t\t} else if (cptr->info->type = pvr2_ctl_bool) {\n" + " \t\t} else if (cptr->info->type == pvr2_ctl_bool) {\n" " \t\t\tret = parse_token(ptr,len,valptr,boolNames,\n" " \t\t\t\t\t ARRAY_SIZE(boolNames));\n" "@@ -522,7 +522,7 @@ int pvr2_ctrl_sym_to_value(struct pvr2_ctrl *cptr,\n" - " \t\t\t} else if (ret = 0) {\n" + " \t\t\t} else if (ret == 0) {\n" " \t\t\t\t*valptr = (*valptr & 1) ? !0 : 0;\n" " \t\t\t}\n" "-\t\t\tif (maskptr) *maskptr = 1;\n" "+\t\t\t*maskptr = 1;\n" - " \t\t} else if (cptr->info->type = pvr2_ctl_enum) {\n" + " \t\t} else if (cptr->info->type == pvr2_ctl_enum) {\n" " \t\t\tret = parse_token(\n" " \t\t\t\tptr,len,valptr,\n" "@@ -531,7 +531,7 @@ int pvr2_ctrl_sym_to_value(struct pvr2_ctrl *cptr,\n" @@ -42,8 +42,8 @@ " \t\t\t}\n" "-\t\t\tif (maskptr) *maskptr = ~0;\n" "+\t\t\t*maskptr = ~0;\n" - " \t\t} else if (cptr->info->type = pvr2_ctl_bitmask) {\n" + " \t\t} else if (cptr->info->type == pvr2_ctl_bitmask) {\n" " \t\t\tret = parse_tlist(\n" " \t\t\t\tptr,len,maskptr,valptr," -febe60f8124b94b6c335963d18effb9815058a8e0baf61cf8d199a9fefb68405 +c52d452d3af143b47e9b44ce41ea044e7f78c4d120f22381bdc6cb2b21199d4d
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.