diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-05-11 10:22:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-05-11 10:22:05 +0400 |
commit | c88e65da61ff8a0aeaa2df0330e69654b08f7b7e (patch) | |
tree | 5fa45ba849c32d13510a5f190a6e773f2635670a /source | |
parent | ccbac7862fad74bff7d507ea5cd96430202a589e (diff) |
Code cleanup: comment typos
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/BKE_global.h | 2 | ||||
-rw-r--r-- | source/blender/blenlib/BLI_utildefines.h | 2 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_app_handlers.c | 2 |
3 files changed, 2 insertions, 4 deletions
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) { |