Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-05-11 10:22:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-05-11 10:22:05 +0400
commitc88e65da61ff8a0aeaa2df0330e69654b08f7b7e (patch)
tree5fa45ba849c32d13510a5f190a6e773f2635670a
parentccbac7862fad74bff7d507ea5cd96430202a589e (diff)
Code cleanup: comment typos
-rw-r--r--intern/cycles/util/util_types.h2
-rw-r--r--source/blender/blenkernel/BKE_global.h2
-rw-r--r--source/blender/blenlib/BLI_utildefines.h2
-rw-r--r--source/blender/python/intern/bpy_app_handlers.c2
4 files changed, 3 insertions, 5 deletions
diff --git a/intern/cycles/util/util_types.h b/intern/cycles/util/util_types.h
index 38eb85a16d0..bfaab3dba3b 100644
--- a/intern/cycles/util/util_types.h
+++ b/intern/cycles/util/util_types.h
@@ -459,7 +459,7 @@ enum InterpolationType {
/* macros */
-/* hints for branch pradiction, only use in code that runs a _lot_ */
+/* hints for branch prediction, only use in code that runs a _lot_ */
#if defined(__GNUC__) && defined(__KERNEL_CPU__)
# define LIKELY(x) __builtin_expect(!!(x), 1)
# define UNLIKELY(x) __builtin_expect(!!(x), 0)
diff --git a/source/blender/blenkernel/BKE_global.h b/source/blender/blenkernel/BKE_global.h
index 61f70d7f7e7..a7aa4c6969a 100644
--- a/source/blender/blenkernel/BKE_global.h
+++ b/source/blender/blenkernel/BKE_global.h
@@ -195,8 +195,6 @@ enum {
#define G_TRANSFORM_SEQ 4
#define G_TRANSFORM_FCURVES 8
-/* G.special1 */
-
/* Memory is allocated where? blender.c */
extern Global G;
diff --git a/source/blender/blenlib/BLI_utildefines.h b/source/blender/blenlib/BLI_utildefines.h
index 8c67c76bccd..f70befddc4d 100644
--- a/source/blender/blenlib/BLI_utildefines.h
+++ b/source/blender/blenlib/BLI_utildefines.h
@@ -460,7 +460,7 @@
# define BLI_STATIC_ASSERT(a, msg)
#endif
-/* hints for branch pradiction, only use in code that runs a _lot_ where */
+/* hints for branch prediction, only use in code that runs a _lot_ where */
#ifdef __GNUC__
# define LIKELY(x) __builtin_expect(!!(x), 1)
# define UNLIKELY(x) __builtin_expect(!!(x), 0)
diff --git a/source/blender/python/intern/bpy_app_handlers.c b/source/blender/python/intern/bpy_app_handlers.c
index f8725d61167..b3be5a819fb 100644
--- a/source/blender/python/intern/bpy_app_handlers.c
+++ b/source/blender/python/intern/bpy_app_handlers.c
@@ -174,7 +174,7 @@ static PyObject *py_cb_array[BLI_CB_EVT_TOT] = {NULL};
static PyObject *make_app_cb_info(void)
{
PyObject *app_cb_info;
- int pos = 0;
+ int pos;
app_cb_info = PyStructSequence_New(&BlenderAppCbType);
if (app_cb_info == NULL) {